You update the user principal name (UPN) of an on-premises Active Directory Domain Services (AD DS) user account to use a different single sign-on (SSO)-enabled domain suffix. However, directory synchronization doesn't propagate the change from one federated domain directly to another federated domain for a user ID in Microsoft Office 365.
When the user object is being synced to Microsoft cloud services, you receive the following error message in the synchronization error report:
Unable to update this object in Microsoft Online Services, because the attribute FederatedUser.UserPrincipalName is not valid. Update the value in your local Active Directory