Microsoft Entra Connect cloud sync supported topologies and scenarios
This article describes various on-premises and Microsoft Entra topologies that use Microsoft Entra Connect cloud sync. This article includes only supported configurations and scenarios.
Microsoft doesn't support modifying or operating Microsoft Entra Connect cloud sync outside of the configurations or actions that are formally documented. Any of these configurations or actions might result in an inconsistent or unsupported state of Microsoft Entra Connect cloud sync. As a result, Microsoft can't provide technical support for such deployments.
For more information, see the following video.
Things to remember about all scenarios and topologies
The information below should be kept in mind, when selecting a solution.
- Users and groups must be uniquely identified across all forests
- Matching across forests doesn't occur with cloud sync
- The source anchor for objects is chosen automatically. It uses ms-DS-ConsistencyGuid if present, otherwise ObjectGUID is used.
- You can't change the attribute that is used for source anchor.
Single forest, single Microsoft Entra tenant
The simplest topology is a single on-premises forest, with one or multiple domains, and a single Microsoft Entra tenant. For an example of this scenario see Tutorial: A single forest with a single Microsoft Entra tenant
Multi-forest, single Microsoft Entra tenant
Multiple AD forests is a common topology, with one or multiple domains, and a single Microsoft Entra tenant.
Existing forest with Microsoft Entra Connect, new forest with cloud Provisioning
This scenario is topology is similar to the multi-forest scenario, however this one involves an existing Microsoft Entra Connect environment and then bringing on a new forest using Microsoft Entra Connect cloud sync. For an example of this scenario see Tutorial: An existing forest with a single Microsoft Entra tenant
Piloting Microsoft Entra Connect cloud sync in an existing hybrid AD forest
The piloting scenario involves the existence of both Microsoft Entra Connect and Microsoft Entra Connect cloud sync in the same forest and scoping the users and groups accordingly. NOTE: An object should be in scope in only one of the tools.
For an example of this scenario see Tutorial: Pilot Microsoft Entra Connect cloud sync in an existing synced AD forest
Merging objects from disconnected sources
In this scenario, the attributes of a user are contributed to by two disconnected Active Directory forests.
An example would be:
- one forest (1) contains most of the attributes
- a second forest (2) contains a few attributes
Since the second forest doesn't have network connectivity to the Microsoft Entra Connect server, the object can't be merged through Microsoft Entra Connect. Cloud Sync in the second forest allows the attribute value to be retrieved from the second forest. The value can then be merged with the object in Microsoft Entra ID that is synced by Microsoft Entra Connect.
This configuration is advanced and there are a few caveats to this topology:
- You must use
msdsConsistencyGuidas the source anchor in the Cloud Sync configuration.
msdsConsistencyGuidof the user object in the second forest must match that of the corresponding object in Microsoft Entra ID.
- You must populate the
UserPrincipalNameattribute and the
Aliasattribute in the second forest and it must match the ones that are synced from the first forest.
- You must remove all attributes from the attribute mapping in the Cloud Sync configuration that don't have a value or may have a different value in the second forest – you can't have overlapping attribute mappings between the first forest and the second one.
- If there's no matching object in the first forest, for an object that is synced from the second forest, then Cloud Sync will still create the object in Microsoft Entra ID. The object will only have the attributes that are defined in the mapping configuration of Cloud Sync for the second forest.
- If you delete the object from the second forest, it will be temporarily soft deleted in Microsoft Entra ID. It will be restored automatically after the next Microsoft Entra Connect Sync cycle.
- If you delete the object from the first forest, it will be soft deleted from Microsoft Entra ID. The object won't be restored unless a change is made to the object in the second forest. After 30 days the object will be hard deleted from Microsoft Entra ID and if a change is made to the object in the second forest it will be created as a new object in Microsoft Entra ID.