Skip to content

Bulk edit Office 365 UPN

I have created a script to bulk edit the User Principal Name for users in Office 365.
The script compares a CSV filled with users that needs to edited and compares them to users in O365.

First connect to Microsoft Online environment.

Run the script to bulk edit the users in the CSV.

The users in the CSV must be the UPN which the users have now. The $newUPN can be set the which ever UPN is wanted.

Published inOffice 365

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *