Remove Previously Synced Objects After Azure AD Connect OU Filtering
Question details
Remove previously synchronized objects from Microsoft Entra ID after changing Azure AD Connect organizational unit 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.
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.
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.
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.
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.
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.
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.
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.

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.

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.




