How to use Set-MsolUserPrincipalName to rename Azure AD UserPrincipalName

Set-MsolUserPrincipalName

The Set-MsolUserPrincipalName command will allow you to rename the UserPrincipalName of your Azure AD user account. This can be useful in various scenarios. One of the main reasons you’d want …