Created
December 7, 2017 12:46
-
-
Save f-bader/5da494525f509be89041bd67e70af85e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module ADSync | |
# Your AAD Credentials | |
$Credential = Get-Credential | |
# Disable the deletion threshold | |
Disable-ADSyncExportDeletionThreshold -AADCredential $Credential | |
# Sync changes | |
Start-ADSyncSyncCycle -PolicyType Delta | |
# Enable deletion threshold with default value of 500 | |
Enable-ADSyncExportDeletionThreshold -AADCredential $Credential -DeletionThreshold 500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment