Entra Domain Services: when you need it and how it's set up
In this task you'll start creating a Microsoft Entra Domain Services managed domain.
Some older apps need a traditional Windows domain: they join servers to it, use Group Policy, or check passwords with Kerberos, NTLM or LDAP. Entra ID can't do those things by itself.
Microsoft Entra Domain Services gives you a managed domain: domain controllers that Microsoft runs for you in an Azure virtual network, filled with your users and groups from Entra ID. You can join Azure VMs to it without building or patching your own domain controllers.
Example. SS Kaiser moves an old stock system to Azure VMs. The app needs domain-joined servers and LDAP, so SS Kaiser creates a managed domain instead of running its own domain controllers in the cloud.
Costs money. This task creates resources that are charged while they exist. Delete them as soon as you finish.
Before you start
You need: Global Administrator or Application Administrator, plus Contributor on the subscription. Time: 10 minutes (looking only).
Where to look
- Home
- Microsoft Entra Domain Services
- + Create
Steps
- Search for domain services and open Microsoft Entra Domain Services.
- Select + Create and look through the Basics tab: the DNS domain name, the region and the size (SKU).The SKU starts on Enterprise, and every size costs money for every hour the domain exists. Don't go further than looking.
- Look at the Networking tab.The managed domain needs its own subnet in a virtual network, and that network's DNS settings must then point at the managed domain.
- Look at the Administration tab, which shows the AAD DC Administrators group.
- Look at the Synchronization tab.It syncs one way, from Entra ID into the managed domain. Changes made inside the managed domain don't flow back.
- Close the page without selecting Create.If you do create one by mistake, delete it straight away (see Clean up).
Tip. Search for domain services. Stop at the Review page: do not select Create.
Commands
# Managed domains need the 'ad' extension (the CLI offers to install it).
# List any managed domains in the subscription (this only reads)
az ad ds list --output table
# If one was created by mistake, delete it
az ad ds delete --name <domain name> --resource-group <group> --yes
Watch out for
- Cost
- Costs money for every hour it exists, whether anyone uses it or not, typically well over 50 pounds a month for the smallest size. It would use up a free account's credit quickly, so only look at the screens.
- Security
- Cloud-only users need to change their password once after it's set up, so the managed domain gets the older password hashes it needs. Users synced from AD DS need password hash sync turned on.
- Common mistakes
- Expecting it to be a full copy of your own AD DS: you don't get Domain Admin rights, can't add domain controllers of your own, and changes don't sync back to Entra ID. Creating it takes around an hour, and deleting it can't be undone.
Clean up
- Microsoft Entra Domain Services
- the managed domain
- Delete
You shouldn't have anything to clean up. If you created a managed domain by mistake, open it, select Delete and confirm, then delete the resource group it was in to remove its network too.
Words to know
- Managed domain
- A Windows domain whose domain controllers Microsoft runs and patches for you.
- Kerberos, NTLM and LDAP
- Older ways for apps and servers to check passwords and look up users in a domain.
- AAD DC Administrators
- The group whose members can manage the managed domain. There's no Domain Admin account.
Tick off each step and track your progress in the guide.
Open this task in Azure Portal, Hands On