How do we change the DirSync sync interval from the default value to the one we want?
Many a times you want to have a DirSync run for a change to take effect straight away from an on-premise to Office 365 or you may find that the default interval of 3 hours is not good enough for you. The 3 hours is the time between a completed directory synchronization and the next one starting.
The time interval between DirSync process is defined in the Microsoft.Online.DirSync.Scheduler.exe.config file found in C:\Program Files\Windows Azure Active Directory Sync.
For older version of DirSync (yes, the migrations that have been going on for years without a change), the file will be in C:\Program Files\Microsoft Online Directory Sync folder.
Open the file using notepad and edit the value for “SyncTimeInterval” to the one you want. It is in hh:mm:ss format.
Hence, if you want to change the DirSync interval from 3 hours to 30 minutes, change the value to 0:30:0 and save the file.
Once the change has been made, restart the Windows Azure Active Directory Sync Service. In older versions, it will be named as Microsoft Online Services Directory Synchronization Service.
Cloud Architect & Blogger with interests in Office 365, Enterprise Mobility & Security and Azure. I am active on Experts Exchange & TechNet forums and I am a technical author for SearchExchange. Follow me on Twitter, LinkedIn, Facebook or Google+ for the latest updates. For consultancy opportunities, drop me a line.