Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
SOLVED

Facing issue on Azure AD connect

Brass 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 (Brass 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
1 best response

Accepted Solutions
best response confirmed by sprazapati (Brass 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

View solution in original post