Forum Discussion
sprazapati
Jun 21, 2021Brass Contributor
Facing issue on Azure AD connect
When I run application it is showing your domain is not routable. Use oth
- 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
4 Replies
- shehanjpIron ContributorYou 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- sprazapatiBrass ContributorThank You Sir
- davidbmarkerBrass Contributor
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-directory-synchronization?view=o365-worldwide
- sprazapatiBrass ContributorThank You.