Forum Discussion
sprazapati
Jun 21, 2021Copper 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
Sort By
- 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- sprazapatiCopper ContributorThank You Sir
- davidbmarkerCopper Contributor
The following Microsoft post should assist you in preparing a non-routable domain for directory synchronization.
- sprazapatiCopper ContributorThank You.