With the release of v22.214.171.124 of AD Connect the Scheduled Task was replaced with this edition + it now has a built-in sync engine.
The scheduler is responsible for two tasks:
- Synchronization cycle. The process to import, sync, and export changes.
- Maintenance tasks. Renew keys and certificates for Password reset and Device Registration Service (DRS). Purge old entries in the operations log.
The scheduler itself is always running, but it can be configured to only run one or none of these tasks. For example if you need to have your own synchronization cycle process, you can disable this task in the scheduler but still run the maintenance task.
To see your current configuration settings, go to PowerShell and run
As you can see the scheduler is configured to run a delta sync every 30 mins by default.
To change this you can run:
Set-ADSyncScheduler -CustomizedSyncCycleInterval 03:00:00
This would change it to every 3 hours.
So what about forcing it to sync right now? Well, just run:
Or for a full sync run:
Start-ADSyncSyncCycle -PolicyType Initial
Or for a delta sync run:
Start-ADSyncSyncCycle -PolicyType Delta