Azure Active Directory – Problem Updating UserPrincipalName (FederatedUser.UserPrincipalName], is not valid)
Ever need to change an Azure tenants user’s UPN from one of your verified to another? This needs to be done for a few reasons, but usually this is done to migrate people between departments / sub companies in cases where their email has changed. Unfortunately, ADConnect tries to do this, but fails. How do we fix this? #PowerShell!