Remove Orphaned Synced Mail Users from Microsoft 365
Question details
Remove an orphaned synchronized mail user whose address conflicts with a Microsoft Entra Connect export.

- Product
- Microsoft 365, Exchange Online, and Microsoft Entra Connect
- Device & OS
- not provided
- Scenario
- A directory synchronization export encounters a Mail or ProxyAddress value already assigned to an orphaned mail user.
- Observed behavior
- The export is blocked by an address conflict, and removal in the Exchange admin center may fail because the object is outside the valid server write scope.
Review the export error and identify the exact conflicting address and associated user account; confirm that the account is truly orphaned and not still needed. Check whether the user still exists in the on-premises directory and review any mailbox retention or recovery requirements before deleting it.
Remove the orphaned user through the Microsoft 365 admin center
Use the admin center to remove the associated account and, if necessary, permanently remove its deleted object before retrying synchronization.
A synchronized user is normally managed in the on-premises directory. If the source account still exists, remove it there using your organization's procedures and allow that deletion to synchronize; otherwise, it may be recreated or remain managed on-premises.
In the Microsoft 365 admin center, open Users > Active users and search for the account associated with the conflicting address. Verify its identity before making changes.
If the account is eligible for cloud deletion, select it and choose Delete user. If deletion is blocked because it is synchronized, investigate the on-premises source rather than deleting a different account.
Open Users > Deleted users and locate the deleted account. If the retained object still causes the conflict and permanent deletion is authorized, select the account and choose Delete permanently.
On the Microsoft Entra Connect server, run Start-ADSyncSyncCycle -PolicyType Delta in PowerShell, then check the synchronization export results for the address conflict.

Remove an eligible orphaned cloud user with Microsoft Graph PowerShell
Use PowerShell when an authorized administrator prefers command-line account removal.
Use WPS Office for everyday document work
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make migration straightforward; it does not administer Microsoft 365 users or fix synchronization errors.

Frequently Asked Questions
Why can't I remove the mail user in the Exchange admin center?
An object outside the valid server write scope may be synchronized and managed from the on-premises directory. Check its source and manage the source account where applicable, or remove an eligible orphaned cloud account through the Microsoft 365 admin center.
Do I always need to permanently delete the user?
No. Check the export result after deletion and permanently remove the deleted object only if it is still causing the conflict and permanent deletion is authorized. In the Microsoft 365 admin center, look under Users > Deleted users.
Can I use Remove-MsolUser to delete the account?
Remove-MsolUser belongs to the older MSOnline PowerShell module. Use the Microsoft Graph PowerShell SDK and Remove-MgUser for an eligible cloud account instead, with appropriate permissions.
How do I retry the export after removing the conflicting user?
On the Microsoft Entra Connect server, run Start-ADSyncSyncCycle -PolicyType Delta in PowerShell, then review the synchronization export results for any remaining address conflicts.




