anandthearchitect.com
Office 365: How to correct UserPrincipalName for On-premises AD sync’ed account?
Say you end up with a wrong UserPrincipalName for an MSOL account which is sync’ed from On-Prem Active Directory like this: username@company.onmicrosoft.com, Which is obviously wrong UPN. The…