How to Merge Active Directory Accounts Across Domains
Question details
The user needs to consolidate user accounts located in different Active Directory domains while retaining access credentials, group memberships, and associated Microsoft 365 data.

- Product
- Microsoft Active Directory
- Device & OS
- not provided
- Scenario
- Migrating and merging user accounts during a domain consolidation or Microsoft 365 tenant migration process.
- Observed behavior
- The goal is to successfully migrate accounts, passwords, and attributes between domains without losing data or access to Microsoft services.
Before initiating an Active Directory migration, ensure you have domain administrator privileges in both the source and target domains, and verify that a trust relationship exists between them.
Migrate Accounts Using the Active Directory Migration Tool (ADMT)
Use Microsoft's official ADMT to migrate users, passwords, and group memberships between Active Directory domains.
The Active Directory Migration Tool (ADMT) is the standard utility for migrating objects between Active Directory domains in on-premises or hybrid environments.
Because cross-domain migration can be complex and may impact Microsoft 365 synchronization, it is highly recommended to plan carefully or consult a qualified migration specialist.
Download and install the Active Directory Migration Tool (ADMT) and the Password Export Server (PES) from the official Microsoft Download Center onto your migration server.
Configure a two-way trust relationship between the source Active Directory domain and the target Active Directory domain.
Open the ADMT console, right-click on 'Active Directory Migration Tool', and select the 'User Account Migration Wizard'.
Follow the wizard prompts to select your source and target domains, choose the specific user accounts you wish to merge, and specify your preferred password migration and attribute translation options.
Complete the wizard to initiate the migration. Once finished, open the Active Directory Users and Computers console in the target domain to verify the accounts were successfully merged.

Looking for a Lightweight Alternative to Microsoft Office?
While managing complex Active Directory and domain migrations requires dedicated IT tools, managing your daily documents shouldn't be complicated. WPS Office provides a seamless, free, and highly compatible alternative to Microsoft Office for your newly migrated users.
- 1. Visit the WPS website: Navigate to the official WPS Office website to download the latest free version for your operating system.
- 2. Install the application: Run the downloaded installer file and follow the straightforward on-screen instructions to set up the software.
- 3. Open and edit files: Launch WPS Office and immediately start opening, editing, and saving your existing Microsoft Office documents without formatting issues.

Frequently Asked Questions
Can I migrate passwords when merging Active Directory domains?
Yes, you can migrate passwords using the Password Export Server (PES) service in conjunction with the Active Directory Migration Tool (ADMT). This requires establishing a secure channel and exporting the encryption key from the target domain to the source domain before running the migration.
What happens to Microsoft 365 data when merging on-premises AD accounts?
If the on-premises accounts are synced to Microsoft Entra ID (formerly Azure AD), you must carefully map the source accounts to the target accounts during migration. Ensuring the ImmutableID or Source Anchor matches is crucial so that existing email, Teams history, and M365 data are preserved without creating duplicate cloud accounts.
Do I need a trust relationship between the source and target domains?
Yes, a trust relationship is an absolute requirement to perform cross-domain account migrations using native tools. Typically, a two-way forest trust or an external trust must be established before you can successfully run the Active Directory Migration Tool.




