Resolve Duplicate Microsoft Entra ID Accounts in Exchange Hybrid
Question details
The user needs to handle duplicate accounts between on-premises Active Directory and Microsoft Entra ID during the setup of an Exchange Hybrid deployment.

- Product
- Microsoft Exchange and Entra ID
- Device & OS
- not provided
- Scenario
- Planning or executing directory synchronization in an Exchange Hybrid environment where existing Microsoft Entra ID accounts might conflict with on-premises Active Directory accounts.
- Observed behavior
- Synchronizing without preparation leads to attribute conflicts, account matching failures, and authentication issues because synchronization does not automatically prioritize competing values.
Ensure you have a complete backup of your on-premises Active Directory and have mapped out a rollback plan before initiating any directory synchronization tools.
Assess and Resolve Duplicate Identities Before Synchronization
Identify and fix duplicate source anchors, domains, and conflicting attributes before running Microsoft Entra Connect.
Do not begin synchronization until the directory has been fully assessed. Synchronization does not provide a simple priority setting for retaining every competing value; therefore, attribute flow and source authority must be planned in advance.
Download and run the Microsoft IdFix DirSync Error Remediation Tool to identify duplicate or invalid attributes (like UPNs or proxyAddresses) in your on-premises Active Directory.
Manually update the on-premises AD accounts or the existing Microsoft Entra ID accounts so that UserPrincipalName (UPN) and primary email addresses match correctly without unintentional duplication.
Determine which directory will act as the authoritative source for specific attributes and configure your synchronization rules accordingly.

Engage Support and the Hybrid Management Community
Consult experts when dealing with complex tenant migration or extensive duplicate identity scenarios.
Switch to WPS Office for a Lightweight Business Solution
While your IT administrators manage complex Exchange Hybrid deployments and Active Directory tenant migrations, your team still needs reliable daily productivity tools. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, ensuring seamless document editing without the heavy enterprise licensing costs.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to complete the setup.
- 3. Start Creating: Open WPS Office and immediately start editing your existing Microsoft Office documents without any formatting loss.

Frequently Asked Questions
How are conflicts handled when matching accounts have different values, such as passwords?
During synchronization, the designated source of authority (usually the on-premises Active Directory) will overwrite the target directory. If Password Hash Sync is enabled, the on-premises password hash will replace the existing Microsoft Entra ID password.
Can I define a priority or choose which attribute value is retained during synchronization?
No, synchronization does not provide a simple priority setting for retaining individual competing values. You must plan the attribute flow and establish the source of authority before running the sync to prevent data loss.
What tool should I use to find duplicate accounts before deploying Exchange Hybrid?
Microsoft recommends using the IdFix DirSync Error Remediation Tool. It scans your on-premises Active Directory to discover and help you remediate duplicate or invalid attributes before you begin synchronization with Microsoft Entra ID.




