Azure AD Connect – Scheduled syncing not working anymore
- By : Dom
- Category : Office 365
- Tags: Azure AD Connect, Office 365, Powershell
Azure AD Connect suddenly stopped working. Trying to force a sync using powershell also failed a threw up an error:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Start-ADSyncSyncCycle : System.InvalidOperationException: Scheduler is already suspended via global parameters. at Microsoft.MetadirectoryServices.Scheduler.Scheduler.StartSyncCycle(String overridePolicy, Boolean interactiveMode) at SchedulerUtils.StartSyncCycle(SchedulerUtils* , Char* policyType, Int32 interactiveMode, Char** errorString) At line:1 char:1 + Start-ADSyncSyncCycle -PolicyType Delta + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (Microsoft.Ident...ADSyncSyncCycle:S tartADSyncSyncCycle) [Start-ADSyncSyncCycle], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException: Scheduler is a lready suspended via global parameters. at Microsoft.MetadirectoryServices.Scheduler.Scheduler.StartSyncCycle(S tring overridePolicy, Boolean interactiveMode) at SchedulerUtils.StartSyncCycle(SchedulerUtils* , Char* policyType, In t32 interactiveMode, Char** errorString),Microsoft.IdentityManagement.Powe rShell.Cmdlet.StartADSyncSyncCycle |
SchedulerSuspended. Set by Connect during an upgrade to temporarily block the scheduler from running.
SchedulerSuspended is an editable switch with Set-ADSyncScheduler.
Run Set-ADSyncScheduler -SchedulerSuspended $false. Then you you should be able to run powershell to sync and the scheduler should be back to normal.
No Comments