May 28 2020 03:58 AM
Hi,
Is it possible to change the username of multiple users in Office 365? Not the users domain but the username.
Is it possible doing it in the Office 365 admin center or in other way?
May 28 2020 05:01 AM
Hello@davgal !
Changing the Domain suffix is easy to do in bulk
However, changing the Alias part of the username in bulk takes a bit more.
You'll need to prepare some CSV files in order to match what username you want to set for what user.
then do a foreach loop to change it in bulk.
Takes some preperation and altering to get it right.
Let me know if you need guidance.
PS use the whatif switch before to see what exactly will change :)
KR
Oliwer Sjöberg
May 28 2020 07:53 AM
and thanks for your reply!
what I need to do is change current usernames in Office 365, for example from dave.gal@contoso.com to m0001@contoso.com. This for 500 user.
Should I use powershell for the foreach loop? Must the csv only have the old username and the new one?
Thanks!