I have been attempting to reconfigure the directory sync OUs for one of our clients and have run in to a problem when attempting to remove a large OU.
Obviously the deletion threshold is being hit and I need to disable it but when I attempt to run any of the below scripts I get the following error.
Powershell
Import-ModuleADSyncDisable-ADSyncExportDeletionThreshold
cmdlet Disable-ADSyncExportDeletionThreshold at command pipeline position 1 Supply values for the following parameters: AADCredential Disable-ADSyncExportDeletionThreshold : Element 'mv-data' was not found. Line 1, position 2. At line:1 char:1 + Disable-ADSyncExportDeletionThreshold + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ReadError: (Microsoft.Ident...letionThreshold:DisableADSyncExportDeletionThreshold) [Dis able-ADSyncExportDeletionThreshold],...