Azure AD Domain not matching AD UPN Suffix (AD Sync) - azure

I have setup domain services in Azure using the domain name "cloud.mydomain.com". Microsoft documentation specifically says to avoid creating DNS names with the ".local" suffix due to routing issue so I didn't do that.
When setting up an on-premise domain sync using AD Sync tool, the on-premise active directory UPN suffix "mydomain.local" does not match the "cloud.mydomain.com" custom domain name in Azure.
When this happens, documentation indicates that the UPN suffix of the users of this domain will be changed to the default .onmicrosoft.com suffix. Is it critical that they match in order to get integrated security to azure resources such as SQL servers using their on-premise domain account?
If they do have to match, then I'd have to create a custom domain name called "mydomain.local". Since that only exists in the on-premise domain, how would that ever be verified?

Is it critical that they match in order to get integrated
security to azure resources such as SQL servers using their on-premise
domain account?
Of course, the Azure AD is very critical for the security. And the default .onmicrosoft.com suffix is due to you create the domain is under Microsoft in the Azure portal.
Since that only exists in the on-premise domain, how would that ever
be verified?
You cannot directly use your local domain to verify with Azure AD, due to your local domain .local is a private domain. You need to register a domain in public, and then you could verify it with Azure AD. After verified success, you should add this domain into your local DNS, then when you syncing, the .local could be matched with Azure AD.

Related

Azure Active directory domain name not resolvoing

I have a primary domain in azure called somename.onmicrosoft.com but its not resolving to any IP.
This is the default domain that is available and a new one can't be created. I'm trying to join VM's to this domain. But nslookup doesn't resolve the address somename.onmicrosoft.com.
Any idea what I need to do in order for this to work?
when you signup to azure you will get a default directory with onmicrosoft.com domain and it will be your primary domain. You can't change or delete the initial domain name, but you can add your organization's names as a custom domain. Adding custom domain names helps you to create user names that are familiar to your users, such as abc#yourorg.com. but you can not domain join virtual machines to azure ad.
To add virtual machines to domain You need to have active directory domain controller running in on-premise or in azure. If you don't have an on-Prem setup you can deploy azure adds managed instance and add your virtual machines to the ADDS domain.
Please check this to Create and configure an Azure Active Directory Domain Services managed domain
Please go through below links to find the difference between
Azure Active Directory
Azure Active directory domain services
Active Directory

What is the custom domain DNS entry used for in Azure AD

To add a custom domain to Azure AD you are required to register the Azure AD DNS with your domain registrar. What does Azure AD actually do with this registration? Does it serve resources out of this domain (if so what) or is the registration only used to verify your ownership of the domain?
It is a TXT record, so it won't redirect traffic or anything. It is only used to prove you actually own the domain. By requiring you to enter a random piece of text in a DNS record, you show that you are able to modify DNS records for the domain.

How to sync on-premises domain with Azure AD when on-premises has .local suffix

In order to sync an on-premises domain to Azure, I believe I need to do the following.
Add custom domain name matching my on-premises domain name
Verify this domain name
Run AD Sync from a computer joined to my on-premises domain
When running the domain sync, it indicates the mydomain.local has not been verified which is required to be able to sign-in to Azure AD with on-premises credentials.
Since that is a DNS name that is only known by the on-premises domain due to the .local suffix, how can we verify it?
When running the domain sync, it indicates the mydomain.local has not
been verified which is required to be able to sign-in to Azure AD with
on-premises credentials.
Due to your local domain is a private domain, so you cannot verify it with Azure AD. The Azure AD can only verify the domain that registered in public.
You need to register a new domain in public, and then use this new domain to verify with the Azure AD. Once the domain verified, you should add it to your local DNS, and by this, you not need change you .local suffix, then when syncing to Azure AD, the local domain can be matched with Azure AD.

Azure Domain Services

I've set up an azure domain services in a vnet, and already have a Win10 VM there. The DNS of the vnet was already updated successfully as well.
I would like to administer the domain with a specific account, "adadmin", which I created in my default Azure AD i.e. adadmin#azureaddefault.onmicrosoft.com. I added the account to the "AAD DC Administrators" group. However, i am unable to use the account to join the machines to the managed AD domain.
My understanding that creating the account after activating the domain services should allow creation of the NTLM hashes so the accounts can be used to manage the domain resources. Anyone encountered this issue during domain provisioning?
My understanding that creating the account after activating the domain
services should allow creation of the NTLM hashes so the accounts can
be used to manage the domain resources.
You are right, we can use the members of the AAD DC Administrators group to add join machines to the managed domain, more information we can refer to this link
After you add users to that group, we should wait about 5 mins, and flush this machine, then use this account to add this machine to AAD DS.
Note:
Close system properties and re-open it, then use this account to join domain.
More information about join a Windows Server VM to AAD DS, please refer to this link.
Update:
As Roman said, re-create the AAD DS and change the password, fix this problem.

How to perform third party Domain setup on Microsoft Azure?

I have set up AD Azure and since I have a domain from a third party hosting provider(re-seller) i needed to assign MX and TX values in order to verify the Domain.
Re-seller refused to manually setup the records in the domain registrar and provided a free shared hosting package for me to setup those values in the control panel which i did with no effort and successfully verified the domain name within Azure portal.
I had made all the wire up within azure portal to use the domain i had verified but when i browse y.com i get responses from the Re-seller server instead of Azure.
The only thing i had left to do is to change the NS records which the Re-Seller refused to do so - so far.
Please provide some details of how the request travels in this kind of Domain name setup and what measures should i take in order to use my domain in Azure hosted environment?
To bind a custom domain for your Azure app, you need to do three main steps to map the custom domain to your app( more detail refer here):
And if you also want to add a custom domain for Azure AD, you can refer this document.

Resources