Phone

(225) 308-9822

555 Saint Tammany St., Suite D Baton Rouge, LA 70806

Knowledge Base

Change O365 Username via PowerShell

TCB Network Solutions Page Other Topics Office 365 Open Windows PowerShell as an Admin and enter the following commands:  connect-msolservice –> Enter Global Admin credentials  Set-MsolUserPrincipalName -UserPrincipalName “username@xxxxx.onmicrosoft.com” -NewUserPrincipalName “username@correctdomain.com” Note:  It is tricky to connect to O365 via powershell using an admin account that has 2FA enabled. As a work-around, search for (or create) …

Change O365 Username via PowerShell Read More »