Powershell script for performing mass update of users for the same company.
- Ensure that
AzureAD
module is installed. If not, start Powershell with administrative rights to install theAzureAD
module. - Start the script by
'.\Mass Update Company Name.ps1'
- When prompted for a company name, put in the Company Name that the list of users will be assigned with.
- When prompted for users, enter the User Principal Name (typically, this is the e-mail address) of the users.
- Type in
exit
when done. - Wait for the script to finish running.