Not sure what happened but it now correct!
AD and Azure not Sycing user principal names
Hybrid environment with AD Sync
Some user principal names are showing as onmicrosoft.com instead of domain
Sign in to comment
Sort by: Most helpful
Hi @TCG ,
Thanks for confirming that you were able to get it to work. Feel free to accept your own answer so that others know that this is resolved. :)
For future reference, there's a troubleshooting guide here for issues with UPN synchronization. If the value of the userPrincipalName attribute doesn't correspond to a verified domain in Azure AD, the synchronization process replaces the suffix with a default .onmicrosoft.com value. So that could have happened if your domain wasn't verified yet or if for some reason it wasn't being recognized as verified.
Glad you were able to get this resolved!