Forum Discussion
C_the_S
Apr 19, 2017Bronze Contributor
Changing UPNs / Domains
We are going to be changing our company name, so this requires a new domain. The new domain has been added to On-Prem AD and Office365. On a test user we have changed the UPN to the new domain a...
C_the_S
Apr 19, 2017Bronze Contributor
Sorry, but having to change a user's password is unacceptable.
VasilMichev
Apr 19, 2017MVP
Well IF you are changing between federated/managed auth, it's mandatory.
- C_the_SApr 19, 2017Bronze Contributor
Nope, it isn't mandatory.
Based on the other script given to me by NunoAriasSilva here are the commands I ended up using that did NOT require reseting the user's password.
Set-MsolUserPrincipalName -UserPrincipalName User1@contoso.com -NewUserPrincipalName User1@tenantname.onmicrosoft.com
Set-MsolUserPrincipalName -UserPrincipalName User1@tenantname.onmicrosoft.com -NewUserPrincipalName User1@Fabrikam.comThat support article definitely needs some updating.