Change Dirsync synchronization frequency

By: Emiley J Printer Friendly Format    


Sometimes, even trivial tips could come in very handy such as this. I have been searching high and low for an option to change the frequency of synchronization between on-premise AD and Office 365. And found this simple solution.

The default frequency when directory synchronization service runs is every 3 hours. Some say that this can be changed by modifying the config file Microsoft.Online.DirSync.Scheduler.exe.Config at %program files%/Microsoft Online Directory Sync folder.

The file is there and the default setting is 3:0:0 which stands for every 3 hours. Changing this value, does not in anyway affect the frequency. Microsoft document clearly says, the directory synchronization frequency CANNOT be changed

What you can do instead is to manually initiate the dirsync to run as and when you want using the powershell

To manually run the dirsync, do the following:

  1. On the computer that is running the Directory Synchronization tool, navigate to the directory synchronization installation folder. By default, it is located here: %programfiles%\Microsoft Online Directory Sync.
  2. Double-click DirSyncConfigShell.psc1 to open a Windows PowerShell window with the cmdlets loaded.
  3. In the Windows PowerShell window, type Start-OnlineCoexistenceSync, and then press ENTER.
  4. If you see any warnings, just ignore them. You can double check that it is actually intiated and running by checking the 'Event Viewer'.



Most Viewed Articles (in Office365 )

Making your Alias email as 'Send As' in Office 365

Change primary e-mail address of a Office 365 user or group

Comparison: SharePoint Online Plan 1 vs SharePoint Online Plan 2

Outlook Live couldn't sign in to the user account on the IMAP messaging system.

An Outlook Live mailbox wasn't found for the user.

The user's mailbox has already been migrated.

Outlook Live couldn't connect to the IMAP server.

The user's Outlook Live mailbox is full.

xxxx cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.

Error: "the current user is required to be a builtin\administrator directory sync - Office 365 Directory Sync

How to configure Outlook in a staged migration of Office 365

Configure IIS as SMTP relay server for Office 365

Install and configure Memcached in linux

Setting up Office 365 in Android phones and tablets

Adding and deleting new users in Active Directory when DirSync is running - Office 365

Latest Articles (in Office365)

Comment on this tutorial

Subscribe to Tutorials

Related Tutorials

Archived Comments

1. This is the solution that I also used, however, th
View Tutorial          By: Rob Ingenthron at 2012-07-18 23:06:18

2. The DirSync sync intervals can be changed.

View Tutorial          By: Nitin at 2012-12-22 16:20:38

3. The synchronization schedule function has been red
View Tutorial          By: Kim at 2014-11-12 10:52:13