Change schedule on AADSync for Office 365

By default the AADSync (link) runs every 3 hours on the AADSync server. This is defined by the scheduled task that is created during the installation.

To change the synchronization interval I did the following:

  1. Add "SYSTEM" to AADSyncAdmins group
  2. Create a new scheduled task (to be run as SYSTEM)
    1. Trigger: Run it once (and set repeat to every 15 minutes and run indefinitely)
    2. Action: "C:\Program Files\Microsoft Azure AD Sync\Bin\DirectorySyncClientCmd.exe"
  3. Reboot server
  4. Run task once manually

No comments: