Change Dirsync synchronization frequency
By: Emiley J in Office365 Tutorials on 2012-04-18
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:
- 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.
- Double-click DirSyncConfigShell.psc1 to open a Windows PowerShell window with the cmdlets loaded.
- In the Windows PowerShell window, type Start-OnlineCoexistenceSync, and then press ENTER.
If you see any warnings, just ignore them. You can double check that it is actually intiated and running by checking the 'Event Viewer'.
Add Comment
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
- Data Science
- Android
- React Native
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Copy Power Automate Flows from one environment to another
Moving changes from a development environment (sandbox) to a production environment in Dynamics 365
Microsoft Flow to sync data from SharePoint list update/delete records to Dataverse Table
Steps to create Microsoft Flow to sync data from SharePoint list to Dataverse Table
ADFS and ADFS Proxy in Windows Server 2012
365 office login (office 365 login)
Configure SSO for a domain with ADFS - Convert a domain to a federated domain in Office 365
What is Office 365 Small Business Premium?
What is Ofice 365 Home Premium
What is Office 365 Midsize Business Plan?
Migration from on-premise exchange 2003 to Office 365
Create Word, Excel, PowerPoint using Office Web Apps in Office 365
On-premise Exchange and Lync Online integration
Email limits and message limitations in Office 365
Migrating SharePoint WSS2.0 site to SharePoint Online and Backup the SharePoint Online
Comments