Events
Apr 9, 3 PM - Apr 10, 12 PM
Code the Future with AI and connect with Java peers and experts at JDConf 2025.
Register NowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
To improve the resiliency of a Microsoft Entra Domain Services managed domain, or deploy to additional geographic locations close to your applications, you can use replica sets. Every Domain Services managed domain namespace, such as aaddscontoso.com, contains one initial replica set. The ability to create additional replica sets in other Azure regions provides geographical resiliency for a managed domain.
You can add a replica set to any peered virtual network in any Azure region that supports Domain Services.
In this tutorial, you learn how to:
If you don't have an Azure subscription, create an account before you begin.
To complete this tutorial, you need the following resources and privileges:
An active Azure subscription.
A Microsoft Entra tenant associated with your subscription, either synchronized with an on-premises directory or a cloud-only directory.
A Microsoft Entra Domain Services managed domain created using the Azure Resource Manager deployment model and configured in your Microsoft Entra tenant.
Important
You need to use a minimum of Enterprise SKU for your managed domain to support replica sets. If needed, change the SKU for a managed domain.
In this tutorial, you create and manage replica sets using the Microsoft Entra admin center. To get started, first sign in to the Microsoft Entra admin center.
The virtual networks that host replica sets must be able to communicate with each other. Applications and services that depend on Domain Services also need network connectivity to the virtual networks hosting the replica sets. Azure virtual network peering should be configured between all virtual networks to create a fully meshed network. These peerings enable effective intra-site replication between replica sets.
Before you can use replica sets in Domain Services, review the following Azure virtual network requirements:
Tip
When you create a replica set in the Microsoft Entra admin center, the network peerings between virtual networks is created for you.
If needed, you can create a virtual network and subnet when you add a replica set in the Microsoft Entra admin center. Or, you can choose existing virtual network resources in the destination region for a replica set and let the peerings be created automatically if they don't already exist.
When you create a managed domain, such as aaddscontoso.com, an initial replica set is created. Additional replica sets share the same namespace and configuration. Changes to Domain Services, including configuration, user identity and credentials, groups, group policy objects, computer objects, and other changes are applied to all replica sets in the managed domain using AD DS replication.
In this tutorial, you create an additional replica set in an Azure region different than the initial Domain Services replica set.
To create an additional replica set, complete the following steps:
In the Microsoft Entra admin center, search for and select Microsoft Entra Domain Services.
Choose your managed domain, such as aaddscontoso.com.
On the left-hand side, select Replica sets. Each managed domain includes one initial replica set in the selected region, as shown in the following example screenshot:
To create an additional replica set, select + Add.
In the Add a replica set window, select the destination region, such as East US.
Select a virtual network in the destination region, such as vnet-eastus, then choose a subnet such as aadds-subnet. If needed, choose Create new to add a virtual network in the destination region, then Manage to create a subnet for Domain Services.
If they don't already exist, the Azure virtual network peerings are automatically created between your existing managed domain's virtual network and the destination virtual network.
The following example screenshot shows the process to create a new replica set in East US:
When ready, select Save.
The process to create the replica set takes some time as the resources are created in the destination region. The managed domain itself is then replicated using AD DS replication.
The replica set reports as Provisioning as deployment continues, as shown in the following example screenshot. When complete, the replica set shows as Running.
A managed domain is currently limited to five replicas - the initial replica set, and four additional replica sets. If you don't need a replica set anymore, or if you want to create a replica set in another region, you can delete unneeded replica sets.
Important
You can't delete either the last replica set or the initial replica set in a managed domain.
To delete a replica set, complete the following steps:
Note
Replica set deletion may be a time-consuming operation.
If you no longer need the virtual network or peering used by the replica set, you can also delete those resources. Make sure no other application resources in the other region need the network connections before you delete them.
In this tutorial, you learned how to:
For more conceptual information, learn how replica sets work in Domain Services.
Events
Apr 9, 3 PM - Apr 10, 12 PM
Code the Future with AI and connect with Java peers and experts at JDConf 2025.
Register NowTraining
Module
Deploy and manage Azure IaaS Active Directory domain controllers in Azure - Training
Learn to deploy and manage Azure IaaS Active Directory domain controllers in Azure.
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.
Documentation
Replica sets concepts for Microsoft Entra Domain Services - Microsoft Entra ID
Learn what replica sets are in Microsoft Entra Domain Services and how they provide redundancy to applications that require identity services.
Tutorial - Configure virtual networking for Microsoft Entra Domain Services - Microsoft Entra ID
In this tutorial, you learn how to create and configure an Azure virtual network subnet or network peering for a Microsoft Entra Domain Services managed domain using the Microsoft Entra admin center.
Tutorial - Perform a disaster recovery drill in Microsoft Entra Domain Services - Microsoft Entra ID
Learn how to perform a disaster recovery drill using replica sets in Microsoft Entra Domain Services