Others

Fix Duplicate Users After Active Directory and Azure AD Sync

Bushra ParveenBushra Parveen Nov 14, 2026 869 views

Question details

Identify duplicate users in a hybrid Active Directory environment and troubleshoot missing or unsynchronized proxy addresses.

Fix Duplicate Users After Active Directory and Azure AD Sync
Product
Active Directory and Microsoft Entra ID (Azure AD) Connect
Device & OS
not provided
Scenario
After directory synchronization, an administrator sees users with a verified custom domain and the tenant's onmicrosoft.com domain.
Observed behavior
Two similar user accounts appear, and proxyAddresses attributes may be missing or not synchronized.
Before you start

Confirm that you have permission to view users and domains in Microsoft Entra ID and manage the relevant on-premises Active Directory attributes. Identify the Entra Connect synchronization server and the affected users' sign-in names and email addresses.

Solution 1Recommended

Identify the Accounts and Correct Proxy Address Synchronization

Use this approach to determine whether the apparent duplicates are separate accounts and resolve address conflicts before considering any account changes.

Microsoft Entra ID is the current name for Azure AD. A matching display name does not prove that two entries represent the same account.

Do not delete either account or change its synchronization identity until you understand its mailbox, licenses, and data. Matching a cloud-only account to an on-premises user requires careful review and may need a separate Microsoft-supported procedure.

1
Compare the user accounts

In the Microsoft Entra admin center, go to Identity > Users > All users and open each account. Compare the user principal names, object IDs, email addresses, and on-premises synchronization status to establish whether one is cloud-only and the other is synchronized.

2
Check the domain

In the Microsoft Entra admin center, open Identity > Settings > Domain names and confirm that the custom email domain is verified. Verify it there if it is not already verified.

3
Find conflicting attributes

Run Microsoft IDFix against the relevant on-premises directory scope to identify duplicate or invalid attributes. Check whether the intended SMTP address is already assigned to another user, group, or contact before adding it.

4
Inspect mailbox and cloud details

In Exchange Online PowerShell, use Get-Mailbox with each applicable identity to inspect mailbox addresses. In Microsoft Graph PowerShell, use Get-MgUser with each user ID and request the proxyAddresses and onPremisesSyncEnabled properties to compare the cloud records.

5
Correct the source address

Add the appropriate SMTP proxy address to the on-premises user using the supported Exchange management tools when the recipient is Exchange-managed. Otherwise, where appropriate, open Active Directory Users and Computers, enable View > Advanced Features, and inspect the user's Attribute Editor > proxyAddresses. Preserve the existing primary address and resolve any conflicts first.

6
Run and verify synchronization

On the Entra Connect server, run Start-ADSyncSyncCycle -PolicyType Delta in PowerShell. After synchronization completes, reopen the user in the Entra admin center and check its addresses; if the address is still missing, review synchronization scope, errors, and attribute flow.

Identify the Accounts and Correct Proxy Address Synchronization
Address changes do not automatically merge accounts: A verified domain and corrected proxy address do not guarantee that two existing accounts will merge. If the cloud-only account contains needed data or a mailbox, review Microsoft's matching guidance or contact Microsoft support before attempting reconciliation.
Free Microsoft Office alternative

Document Your User Audit in WPS Spreadsheet

WPS Office is a free, lightweight, easy-to-use alternative to Microsoft Office with a familiar interface and compatible file formats for a smooth transition. Use WPS Spreadsheet to organize an account audit; it does not repair Active Directory or Entra synchronization.

Record account names, synchronization status, and address conflicts in a spreadsheetOpen and edit Microsoft Excel XLSX workbooksUse familiar spreadsheet tools to sort and filter audit recordsWork with a lightweight office suite available for free
microsoft office alternative - wps office

Frequently Asked Questions

Does an onmicrosoft.com address mean the user is a duplicate?

No. The address may belong to a separate cloud-only account or be associated with an existing user. In the Entra admin center, compare the accounts' object IDs and on-premises synchronization status under Identity > Users > All users.

How do I check for duplicate proxy addresses?

Run Microsoft IDFix against the relevant on-premises directory scope, and inspect affected users and other recipient objects for conflicting addresses. Exchange Online PowerShell's Get-Mailbox can also show addresses assigned to mailboxes.

How can I start an Entra Connect synchronization?

On the Entra Connect server, open PowerShell and run Start-ADSyncSyncCycle -PolicyType Delta. Then check the affected user and any synchronization errors after the cycle completes.

Should I delete the cloud-only account?

Not before checking its object ID, licenses, mailbox, and data. Deleting it can affect access or data, and reconciling it with a synchronized account requires a separate review of Microsoft's matching guidance.