As part of the latest post about directory synchronization with Office 365, here is a small trick to manage the schedule for directory synchronization.

This is not new with the latest release.

By default, DirSync is synching your AD with Office 365 every 3 hours. But you may want to manage this schedule in order to do it more or less frequently. Off course, you still have to ability to run a PowerShell script to force the synchronization Smile.

So, the DirSync schedule settings is located in the Microsoft.Online.DirSync.Scheduler.exe.config file stored in the installation folder of DirSync (default is C:\Program Files\Windows Azure Active Directory Sync) – NOTE: if you are still using an older version of DirSync, the folder name may be different to Microsoft Online Directory Sync

To change the schedule from running every 3 hours to what you want, just open the file and change the value of SyncTimeInterval.

After changing this settings you have to restart ForeFront services in order to take into account the new value of the schedule time.