Sync Multiple AD Forests to One Microsoft Entra ID Tenant
Question details
The user needs to synchronize two Active Directory forests to one Microsoft Entra ID tenant and plan source anchors, domain verification, and UPN changes during migration.

- Product
- Microsoft Entra Connect Sync (formerly Azure AD Connect)
- Device & OS
- not provided
- Scenario
- Forest A already synchronizes to a tenant, and users from Forest B will be added during a forest migration.
- Observed behavior
- Both forests should synchronize to the same tenant without disrupting existing identities, with users receiving the intended cloud UPNs.
Identify the active Entra Connect server, its current source-anchor and user-matching configuration, and the UPN suffixes used in each forest. Confirm that you can verify the required custom domain in the destination tenant and have the permissions needed to update on-premises AD and run the sync wizard.
Add the Second Forest to the Existing Sync Configuration
Use the active Entra Connect installation to synchronize users from both forests to one tenant.
Source anchors link on-premises objects to cloud identities. Do not assume that choosing ms-DS-ConsistencyGuid for Forest B is an isolated change: review the existing configuration and preserve the anchors of already synchronized users. If users are moving between forests, plan identity matching and anchor preservation before synchronizing them from the new forest.
In the Microsoft 365 admin center, open Settings > Domains, add Forest B's intended UPN domain, and complete the DNS verification steps. A domain already verified in another tenant must be removed there before it can be verified in the destination tenant.
On the active sync server, open Microsoft Entra Connect and review the current configuration, including the source anchor, user matching, and synchronization scope. Determine how migrated users will be matched before adding Forest B.
In the Microsoft Entra Connect wizard, select Configure > Customize synchronization options, sign in when prompted, and add Forest B on the Connect your directories page. Configure the required forest credentials and select the domains and organizational units to synchronize.
Complete the wizard, then open Synchronization Service Manager on the sync server to review import, synchronization, and export results. In the Microsoft Entra admin center, check the resulting users and their UPNs before expanding the synchronization scope.

Set a Verified UPN Suffix for Forest B Users
Use this approach when Forest B users need a custom-domain sign-in name instead of an onmicrosoft.com UPN.
Document Your Forest Migration Plan in WPS Office
WPS Office is a free, lightweight alternative for preparing migration checklists and tracking user changes. Its familiar interface and Microsoft Office format support make it easy to move existing planning files into WPS; it does not configure Microsoft Entra Connect.

Frequently Asked Questions
Can two Active Directory forests sync to one Microsoft Entra ID tenant?
Yes. Use the Microsoft Entra Connect wizard on the active sync server and choose Configure > Customize synchronization options to add the second forest and define its synchronization scope.
Will using ms-DS-ConsistencyGuid for Forest B change Forest A users' anchors?
Existing users' anchors must remain stable, but the effect depends on the deployment's configuration and how migrated identities are matched. Review the current source-anchor settings in Microsoft Entra Connect before making changes; do not assume a new anchor choice applies independently to one forest.
Why might a synced user receive an onmicrosoft.com UPN?
A cloud UPN can fall back to an onmicrosoft.com suffix when the on-premises UPN suffix is not verified in the tenant. Verify the intended domain under Microsoft 365 admin center > Settings > Domains and update the user's on-premises UPN as needed.
Can I change a synchronized user's UPN after migration?
Normally, update the user logon name in Active Directory Users and Computers under Properties > Account, then let Entra Connect synchronize the change. Verify the custom suffix in the tenant first.
Does changing a user's UPN also change their email address?
Not necessarily. The UPN is a sign-in name; email addresses are managed separately through the appropriate Exchange and directory attributes. Check the user's mail configuration before assuming an address has changed.




