[Azure] Add multiple admins in a subscription in ARM
February 8, 2017 at 8:00 am in Azure, Microsoft, PowerShell by Florent
I had the request to add some users from Azure AD as Owner of the Azure subscription, in ARM. Being feigning and not wanting to add 10 users manually, I decided to create a PowerShell script (if we ask me to do the same another time). This script is available on Technet:
https://gallery.technet.microsoft.com/Add-multiple-admins-in-an-07c7cf59
To use it, create a CSV file on the same location as your script, with 3 columns:
- FirstName
- Lastname
On my 4 users, I only have one as Owner. The script will add 3 others:
Choose your Azure subscription:
If a problem appears during the adding, you’ll have an error message:
And if the adding is ok, you’ll have informational message:
And on my Azure view:
If you have any questions, remarks or suggestions, don’t hesitate to contact me