Frequency of Directory Synchronization between On premises Exchange and Exchange online


By default the Directory Synchronization runs every 3 hours.  If you want to increase or decrease the frequency you will need to modify the following file:

C:\program files\Microsoft Online Directory Sync\Microsoft.Online.DirSync.Scheduler.exe.Config

Just open with notepad along with “RunAs” Administrator permission and you’ll see a line that looks like:

<add key=”SyncTimeInterval” value=”3:0:0″ />

By default the SyncTimeInterval is set to 3 hours.  If you wanted it to run every 30 minutes you’d change the value to ”0:30:0″.  We wouldn’t recommend going any lower than 15-30 minutes.

if you want to do force replication, you can do the below steps

You can force a manual Directory Synchronization for your Office 365 tenant.

The step are:

  1. Log into your DIRSYNC server, the one running the Directory Synchronization Tools
  2. Start a PowerShell session
  3. Navigate your way to: C:Program Files\Microsoft Online Directory Sync
  4. Run the cmdlet: .DirSyncConfigShell.psc1 – this starts the Directory Synchronization Configuration Shell
  5. Run the cmdlet: Start-OnlineCoexistenceSync
Advertisements
This entry was posted in Exchange 2010, Exchange 2013, Office 365 and tagged , , , . Bookmark the permalink.

One Response to Frequency of Directory Synchronization between On premises Exchange and Exchange online

  1. kousik says:

    Useful information. Thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s