SOLVED

Facing issue on Azure AD connect

%3CLINGO-SUB%20id%3D%22lingo-sub-2465967%22%20slang%3D%22en-US%22%3EFacing%20issue%20on%20Azure%20AD%20connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2465967%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20I%20run%20application%20it%20is%20showing%20your%20domain%20is%20not%20routable.%20Use%20oth%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2465967%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2466248%22%20slang%3D%22en-US%22%3ERe%3A%20Facing%20issue%20on%20Azure%20AD%20connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2466248%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F808265%22%20target%3D%22_blank%22%3E%40sprazapati%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EThe%20following%20Microsoft%20post%20should%20assist%20you%20in%20preparing%20a%20non-routable%20domain%20for%20directory%20synchronization.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fenterprise%2Fprepare-a-non-routable-domain-for-directory-synchronization%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fenterprise%2Fprepare-a-non-routable-domain-for-directory-synchronization%3Fview%3Do365-worldwide%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

When I run application it is showing your domain is not routable. Use oth

 

sprazapati_0-1624276440462.png

 

 

4 Replies

@sprazapati,

The following Microsoft post should assist you in preparing a non-routable domain for directory synchronization.

 

https://docs.microsoft.com/en-us/microsoft-365/enterprise/prepare-a-non-routable-domain-for-director...

Thank You.
best response confirmed by sprazapati (Occasional Contributor)
Solution
You can still use a non-routable domain in the AAD connect, but the syned account to AzureAD will not have the preferred domain and will have @<tenantname>.onmicrosoft.com suffix.
You will have to go to MSOL PowerShell to change the UPN for the user.

connect-msolservice (enter the credentials of the Global admin or the relevant role based account)
set-msoluserprincipalname -userprincipalname user@<tenantname>.onmicrosoft.com -newuserprincipalname user@domain.com
Thank You Sir