Microsoft 365 Migration

Remove Previously Synced Objects After Azure AD Connect OU Filtering

Ayan MasoodAyan Masood Nov 25, 2026 869 views

Question details

Remove previously synchronized objects from Microsoft Entra ID after changing Azure AD Connect organizational unit filtering.

Remove Previously Synced Objects After Azure AD Connect OU Filtering
Product
Azure AD Connect and Microsoft Entra ID
Device & OS
not provided
Scenario
An administrator has changed which organizational units are included in directory synchronization.
Observed behavior
Some objects previously synchronized to Microsoft 365 remain in the tenant after the OU filter change.
Before you start

Identify the affected objects and verify their OU membership and synchronization ownership. Confirm that you have administrative access to the Azure AD Connect server and permission to review synchronization operations and Microsoft Entra ID.

Solution 1Recommended

Run a Full Sync and Investigate Objects That Remain

Apply the updated OU filter with an initial synchronization cycle, then check scope and export errors if objects remain.

1
Check the OU filter

On the Azure AD Connect server, open Azure AD Connect and review the domain and OU filtering configuration. Confirm that the OUs containing the affected objects are excluded.

2
Start an initial sync cycle

Open PowerShell on the Azure AD Connect server and run `Start-ADSyncSyncCycle -PolicyType Initial`. If the command is unavailable, import the ADSync module with `Import-Module ADSync` and retry.

3
Review synchronization operations

Open Synchronization Service Manager and select Operations. Review the full import, full synchronization, and export runs for errors, including deletion-threshold or quarantine-related errors.

4
Check the objects in Entra

In the Microsoft Entra admin center, review the affected objects and, for users, check Users > Deleted users. Determine whether an object is still in scope, was restored, or remains in a soft-deleted state.

5
Resolve the underlying cause

Use the operation details and object status to investigate any remaining scope, ownership, or deletion-protection issue. Do not manually delete accounts until their synchronization scope and ownership have been verified.

Run a Full Sync and Investigate Objects That Remain
If the initial sync was already run: Start with the Operations review rather than assuming another sync will resolve the issue. Deletion safeguards can block exports and should be investigated before they are changed.
Free Microsoft Office alternative

Work with Office Files in WPS Office During Your Migration

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for a smoother move between productivity suites. It does not manage Azure AD Connect or fix directory synchronization.

Open and edit Microsoft Word, Excel, and PowerPoint formatsUse a familiar interface for everyday document workWork with migration plans and other Office filesInstall a lightweight productivity suite for free
microsoft office alternative - wps office

Frequently Asked Questions

Which command applies the changed OU filter?

On the Azure AD Connect server, run `Start-ADSyncSyncCycle -PolicyType Initial` in PowerShell. Then check Synchronization Service Manager > Operations to confirm the cycle completed.

Why is an object still visible after a full sync?

It may still be in scope, have a blocked deletion, have been restored, or be soft-deleted. Review the OU filter, synchronization operations, and the object's status in the Microsoft Entra admin center.

Where can I check whether a user was soft-deleted?

In the Microsoft Entra admin center, go to Users > Deleted users and look for the affected account.

Should I manually delete the remaining accounts?

First verify each account's synchronization scope and ownership, and investigate any export or deletion-protection errors in Synchronization Service Manager. Manual deletion before those checks can affect the wrong account.