Hello Office 365 Admins,
so we decided to look to the event viewer logs in the AD Connect server, after reading the logs we found the below error appear in the logs as below:
Source : Directory Synchronization, Event ID: 906
Description: unable to process this synchronization cycle in azure active directory because the object deletion threshold was met or exceed
So AD Connect have a threshold for deletion object to prevent accidental delete a bulk of objects by mistake, so it’s try to help you to prevent delete a large number of objects by mistake.
this threshold equal to 500 objects as stated in Microsoft articles, so by default you cannot delete 500 or more objects in one shot but if you have a case like me and you need to delete more than this number at same time you can simply disable this feature from azure AD PowerShell using below command:
Disable-ADSyncExportDeletionThreshold
to learn how to connect to office 365 PowerShell, follow this link: https://technet.microsoft.com/en-us/library/jj984289(v=exchg.160).aspx
after the deletion complete we recommend to re-enable this feature using PowerShell using below command:
Enable-ADSyncExportDeletionThreshold
that’s All 🙂
About Blogger …
Ahmad is currently working in Specialized Technical Services Company (STS).
What happens if you accidentally change filter removing OUs? I have not found a way to undo this when I get the warning. I don’t want the deletes to actually process. I have enabled the ous I want to sync again, but it still says the number of deletions are over the threshold. There are ways to disable and enable the threshold to allow the deletions to occur. Is there a way to cancel these deletions?
Hi Patrick,
Apologize for this delay: see this article it should help http://azuredummies.com/2017/04/17/how-to-deal-with-stopped-deletion-threshold-exceeded-in-ad-connect/