Others

Safely Stop Office 365 Directory Synchronization for a User

Rana GarciaRana Garcia Nov 25, 2026 869 views

Question details

The user needs to stop synchronizing an on-premises Active Directory user with Microsoft 365 without assuming that a cloud account or mailbox will be retained.

Safely Stop Office 365 Directory Synchronization for a User
Product
Microsoft 365 and Microsoft Entra Connect Sync
Device & OS
not provided
Scenario
A hybrid environment synchronizes on-premises Active Directory users to Microsoft 365, and an administrator wants to disconnect one user from synchronization.
Observed behavior
Deleting or restoring the cloud user and clearing its immutable ID did not resolve the synchronization issue.
Before you start

Confirm which synchronization service and filtering rules manage the user, and check whether the mailbox is hosted in Exchange Online or on-premises. Review the effects of removing the user from scope, including account deletion, mailbox retention, and any accidental-deletion safeguards.

Solution 1Recommended

Remove the User from the Directory Synchronization Scope

Use this approach when the user should no longer be synchronized from on-premises Active Directory.

Removing a user from synchronization scope or deleting the on-premises account can cause the corresponding cloud account to be deleted on a subsequent synchronization cycle. Do not assume the cloud account will remain active.

Deleting and restoring a cloud user and clearing its immutable ID is not a reliable, officially supported way to retain a cloud user after deleting its on-premises counterpart.

1
Review the user's scope

Open the Microsoft Entra Connect configuration on the synchronization server, or review the applicable Microsoft Entra Cloud Sync configuration, and identify the organizational unit, group, or other filter that includes the user.

2
Remove the user from scope

In Active Directory Users and Computers, move the user to an organizational unit excluded by the configured filter, or update the applicable synchronization filter. Delete the on-premises account only if it is no longer needed.

3
Check the synchronization result

After the next synchronization cycle, check the user's status in the Microsoft Entra admin center under Identity > Users. If deletion was expected but did not occur, review synchronization errors and accidental-deletion safeguards.

Remove the User from the Directory Synchronization Scope
Cloud account retention: If the cloud user or mailbox must remain available, review Microsoft's current guidance and the organization's retention requirements before changing scope. Removing the on-premises user or filter scope is not a guarantee that the cloud account will be retained.
Free Microsoft Office alternative

Use WPS Office as an Alternative for Everyday Documents

WPS Office is a free, lightweight, easy-to-use alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make moving files straightforward, but it does not manage Microsoft 365 directory synchronization or Exchange licenses.

Open and edit Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Work on documents in a familiar, easy-to-use interface.Use a lightweight office suite alongside your directory administration tools.Move existing Office files into WPS without changing directory synchronization settings.
microsoft office alternative - wps office

Frequently Asked Questions

Will disabling directory synchronization disconnect an Exchange mailbox?

No. Disabling synchronization alone does not disconnect the mailbox. For an Exchange Online mailbox, review the user's Exchange license in Microsoft 365 admin center > Users > Active users > Licenses and apps.

What happens if I remove a user from the synchronization filter?

The corresponding cloud account can be deleted during a subsequent synchronization cycle. Check the result in Microsoft Entra admin center > Identity > Users and review any synchronization errors or deletion safeguards.

Can I keep the cloud user by deleting it, restoring it, and clearing the immutable ID?

Do not rely on that sequence as an officially supported way to retain a cloud user after deleting the corresponding on-premises account. Review current Microsoft guidance before changing the user's synchronization status.

Does removing an Exchange Online license immediately delete the mailbox?

License removal can lead to mailbox deletion after an applicable retention period; the outcome depends on factors such as holds and retention policies. Review those settings and current Microsoft guidance before removing the license.