Short answer
Pick one healthy target domain, create trusts, then move groups, users, computers and servers in waves while sIDHistory keeps access to old resources. Carry each user's sync source anchor across so Microsoft Entra ID keeps matching the same cloud account, and plan around ADMT, which Microsoft has deprecated.
Key facts
- Microsoft has deprecated the ADMT 3.2 code base: no security fixes, bug fixes or design changes, and support is best effort only.
- ADMT has not been updated for Windows 10, Windows 11 or Windows Server 2012 R2 through 2022.
- SID filtering is on by default for forest trusts, so sIDHistory is ignored across a forest trust until you allow it.
- If you move users between forests or domains, Microsoft says the sync source anchor must be an attribute that moves with the user, such as ms-DS-ConsistencyGuid.
- Microsoft Entra Connect Sync supports one active sync server per tenant, plus staging servers, and that server must reach every forest.
Before you start: prerequisites and licenses
- Rights on premises: domain admin level rights in both forests to create trusts and change SID filtering. SID filtering can only be changed from the trusting side.
- Rights in Microsoft Entra ID: Hybrid Identity Administrator or Global Administrator for sync fixes such as clearing onPremisesObjectIdentifier, plus User.Read.All to check onPremisesImmutableId.
- Tools: the ActiveDirectory PowerShell module (RSAT), netdom, and the Active Directory Domains and Trusts console. netdom cannot create forest trusts; use the console or PowerShell for those.
- Sync: know whether each source domain syncs through Microsoft Entra Connect Sync or Microsoft Entra Cloud Sync, and which attribute is the source anchor.
- A healthy target: replication, DNS, time sync and tested backups before any objects move.
- Trusts and sIDHistory are built into AD DS. Any third-party migration tool is licensed separately by its vendor.
Step by step: plan and run the consolidation
- Inventory every source domain: users, groups and nesting, computers, member servers, service accounts, SPNs, GPOs, DNS zones, certificates and apps. Note which groups grant access to file shares, SQL and apps.
- Choose the target domain, the OU design and naming rules. Add the UPN suffixes users need so sign-in names still match email.
- Set up name resolution, such as conditional forwarders, between source and target.
- Create the trusts. Use Active Directory Domains and Trusts for a forest trust. Run netdom trust with /verify to confirm each trust works.
- If you rely on sIDHistory across a forest trust, enable it on the trusting side with netdom trust and /enablesidhistory:yes. Only do this if you trust the other forest's admins, and turn it back off when the move is done.
- Check sync before moving anyone. Confirm the source anchor in use. If it is objectGUID, the value changes when an object is recreated in another forest, so plan the anchor first.
- Pilot with a few test users. Migrate groups first, then users with sIDHistory and the source anchor value copied. Check that the same Entra ID object, mailbox and OneDrive stay attached.
- Move users in waves, then computers, then member servers. Update service accounts, SPNs and app configs as servers move.
- Re-permission resources to target groups, then remove sIDHistory and turn SID filtering back on.
- Decommission: remove trusts, demote source domain controllers and clean up DNS.
Do it with PowerShell
These read-only checks use the ActiveDirectory module and Microsoft Graph PowerShell. Run the AD part once per domain. The Graph part shows which cloud anchor each synced user has, so you can confirm it survives the move.
# Active Directory: trusts and migration-relevant attributes
Import-Module ActiveDirectory
$src = "source.contoso.local"
Get-ADTrust -Filter * -Server $src | Format-List *
# Users that already carry sIDHistory or a ConsistencyGuid
Get-ADUser -Filter * -Server $src -Properties sIDHistory, 'mS-DS-ConsistencyGuid', mail |
Select-Object SamAccountName, UserPrincipalName, mail,
@{n='HasSidHistory';e={[bool]$_.sIDHistory}},
@{n='HasConsistencyGuid';e={[bool]$_.'mS-DS-ConsistencyGuid'}} |
Export-Csv .\source-users.csv -NoTypeInformation
# Check whether a forest trust allows sIDHistory (run from the trusting side)
netdom trust target.contoso.com /domain:source.contoso.local /enablesidhistory
# Microsoft Entra ID: the cloud anchor for a pilot user
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -UserId "pilot.user@contoso.com" -Property UserPrincipalName, OnPremisesImmutableId, OnPremisesSyncEnabled |
Format-List UserPrincipalName, OnPremisesImmutableId, OnPremisesSyncEnabled
# On the Entra Connect Sync server, after a pilot move
Start-ADSyncSyncCycle -PolicyType DeltaKeeping Microsoft Entra ID and Microsoft 365 in step
Each synced user is tied to its cloud account by the source anchor, shown in Entra ID as the ImmutableId. Microsoft's guidance is that objectGUID is fine if you never move users between forests. If you do move them, use an attribute that moves with the user. Newer Entra Connect Sync versions can use ms-DS-ConsistencyGuid and write the objectGUID value into it. Copy that value to the new object so the hard match lands on the same cloud account, mailbox and OneDrive.
Entra Connect Sync supports multiple forests through one active server that can reach them all. The wizard's Uniquely identifying your users page controls how users that exist in more than one forest are joined. Microsoft Entra Cloud Sync handles disconnected forests, but it does not match users across forests. It uses ms-DS-ConsistencyGuid when present, otherwise objectGUID, and you cannot change that.
Since July 1, 2026, Entra ID adds protections to hard match. A match can be blocked if the cloud user already has onPremisesObjectIdentifier set, which Microsoft lists as common after a forest or domain move or a merger. It can also be blocked if the user holds or is eligible for a privileged role. Pilot users will show this early. The fix is documented, and it should be a deliberate step, not a surprise in wave three.
ADMT: what Microsoft says today
The Active Directory Migration Tool 3.2 is still downloadable, but Microsoft has deprecated its code base and stopped development. It gets no security fixes or bug fixes. Support cases are handled on a best-effort basis, and Microsoft says to use it at your own risk.
Microsoft's known-issues list explains why it struggles today. It has not been updated for current Windows client or server versions, and it cannot migrate user profiles to or from anything later than Windows 7 or Windows Server 2008 R2. It will not run with Credential Guard enabled. It relies on unconstrained delegation unless you run it on the target domain controller. Password migration needs LSA protection turned off, and it needs TLS 1.0 on its SQL host. Each workaround weakens security, so agree on them with your security team first.
In practice, many projects use ADMT only for groups, users and sIDHistory, or use a commercial tool. They rejoin or reprovision devices, for example with Microsoft Entra join and Intune, instead of translating profiles.
Common errors and fixes
- Users lose access to old shares after moving: sIDHistory is filtered across the forest trust. Fix: check with netdom trust and /enablesidhistory, enable it on the trusting side for the migration window, or re-permission the resource to target groups.
- AttributeValueMustBeUnique export error in Entra Connect or Cloud Sync: the new object soft matched on UPN or primary SMTP address but has a different source anchor. Fix: set the new object's ms-DS-ConsistencyGuid to match the existing cloud user's ImmutableId.
- Hard match blocked or AttributeUpdateNotAllowed after a move: the cloud user already has onPremisesObjectIdentifier set, or holds a privileged role. Fix: confirm the right source object, then follow Microsoft's steps to clear the value or temporarily remove the role.
- ADMT fails with a delegation or credentials error: Credential Guard is on, or the account cannot be delegated. Fix: run ADMT on the target domain controller and follow Microsoft's known-issues guidance with your security team.
- ADMT computer post-check fails with errors 7711, 7709 or 7675: the computer keeps its old primary DNS suffix. Fix: remove the old SPNs from the source account, or set SyncDomainWithMembership to 1.
How to verify it worked
- For each pilot user, Get-MgUser shows the same object ID and OnPremisesImmutableId before and after the move, and licenses are unchanged.
- The user signs in with the expected UPN and opens the same mailbox and OneDrive.
- Access to an old file share works through sIDHistory during the overlap, then through target groups after re-permissioning.
- The Entra Connect Sync server shows no new export errors after Start-ADSyncSyncCycle -PolicyType Delta.
- netdom trust with /verify succeeds until you remove the trust, and no resources still depend on source groups when you do.
When not to merge AD at all
Multiple domains often come from acquisitions or old designs. Before planning a full merge, ask whether on-premises AD needs to grow. If most apps are SaaS and devices can move to Entra join and Intune, it can be simpler to sync the acquired forest with Cloud Sync for now. Or bring those users into your tenant, move their devices and data, and retire their domain without migrating AD objects.
When to call a consultant
A small, single-forest cleanup with few servers is something a capable in-house team can run. Consolidation gets risky when sync, legacy apps and old tools overlap.
- Users sync to Entra ID from more than one forest, or you are not sure which source anchor you use.
- You depend on ADMT and its workarounds conflict with your security baseline.
- Many member servers, service accounts or SPNs have to move with apps that cannot go down.
- Privileged accounts are synced, which can trigger the newer hard match protections.
- You are still deciding between a merge, a partial merge and cloud-only identity after an acquisition.
Related questions
How Accred Consulting approaches it
Accred Consulting starts with discovery across every domain: health, trusts, object counts, group nesting, service accounts, GPOs and how each domain syncs to Entra ID, including the source anchor. You then get a written proposal with scope, waves, price and timeline, and a clear recommendation: full merge, partial merge or cloud identity. Our US-based team pilots the anchor and sIDHistory plan, migrates in waves with a check after each one, and hands over the target design and cleanup steps. Optional support covers the source domain retirement.
Track record: 475+ client projects, 2,000+ migration workstreams and 210,000+ users migrated by a US-based team. Company facts · Case studies
Sources
4
Want this scoped for your environment?
Book a free consultation. After discovery you get a written plan with scope, pricing (fixed fee, hourly, retainer or block of hours) and a timeline.
Book a free consultation