Others

Remove Orphaned Synced Mail Users from Microsoft 365

Emma BrownEmma Brown Nov 27, 2026 869 views

Question details

Remove an orphaned synchronized mail user whose address conflicts with a Microsoft Entra Connect export.

How to Remove Orphaned Synced Mail Users from Microsoft 365
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.
Before you start

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.

Solution 1Recommended

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.

1
Find the account

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.

2
Delete the orphaned account

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.

3
Review deleted users

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.

4
Retry synchronization

On the Microsoft Entra Connect server, run Start-ADSyncSyncCycle -PolicyType Delta in PowerShell, then check the synchronization export results for the address conflict.

Remove the orphaned user through the Microsoft 365 admin center
Permanent deletion: Permanently deleting a user can make the account and associated data unrecoverable. Confirm retention requirements and authorization first.
Free Microsoft Office alternative

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.

Free, lightweight tools for everyday office workCompatible with Microsoft Office formats, including DOCX, XLSX, and PPTXFamiliar interface for a smooth transition from Microsoft OfficeEdit spreadsheets used to document user and address-conflict investigations
microsoft office alternative - wps office

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.