Microsoft has really improved PowerShell support for AADSync with the latest iteration of it. You can view all of the cmdlets available for AADSync by running:
Get-Command -Module ADSync
After looking through the cmdlets, we can see there is a cmdlet called “Get-AdSyncScheduler”. You may not be able to tell by the name, but this cmdlet will provide details regarding the sync schedule for AADSync.
I ran the cmdlet and got the following output:
I found it a bit strange that the “SyncCycleEnabled” object was False, though I had enabled synchronization through the AADSync wizard. I used the “Set-AdSyncScheduler” to change this value to True:
Microsoft is also adding some AADSync Health Monitoring to the Azure Portal, though this feature is still in preview.
You can get more info on the PowerShell cmdlets used in the article here: