Change User Principle Name in Office365 PowerShell

When using DirSync or Azure AD Connect, the only way to change the username is with Office 365 PowerShell. Connect to Office 365 PowerShell and run the following:

Set-MsolUserPrincipleName -UserPrincipleName currentusername@domain.tld -NewUserPrincipleName newusername@domain.tld

 

Leave a Reply

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