You implement Azure Active Directory (Azure AD) Connect so you can synchronize accounts in your on-premises AD with those in Azure AD. You decide to synchronize only a specific organizational unit.
You receive the following error during the first synchronization:
"Number of deletions exceeds the default threshold of 500 objects".
You need to successfully synchronize the accounts.
Which cmdlet should you use?
You should run the Disable-ADSyncExportDeletionThreshold cmdlet. This cmdlet disables the deletion protection and allows the synchronization to complete without errors. When you install Azure AD Connect, it prevents accidental deletes by default. The default configuration does not allow an export with more than 500 deletes. This feature is designed to protect from accidental configuration changes and changes to the on-premises directory that would affect many users and other objects.
You should not run the Enable-ADSyncExportDeletionThreshold -DeletionThreshold 1000 cmdlet. It changes the threshold from the default value (500) to 1000 elements. When the number of elements is reached, an error occurs.
You should not run the Enable-ADSyncExportDeletionThreshold -ThresholdPercentage 10 cmdlet. It changes the threshold from the default value (500 elements) to percentage values. When the number of elements is reached, an error occurs.
You should not run the Get-ADSyncExportDeletionThreshold cmdlet. It is used to display the current threshold value.