DirSync fails after the reboot with following error:
“Cannot start service MSOnlineSyncScheduler”



This issue might occur if GPO (Group Policy) contains restrictions of who can logon as a service and is only applied at reboot. So initially after the install it runs just fine until the GPO is applied, Please follow the below steps to resolve this:

  1. Get the Username that is being used to login to the service listed in Services.msc under Windows Azure Active Directory Sync Service
  2. Add that user to the local “Administrators” user group
  3. Open the Default domain GPO and navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > User Rights Assignment
  4. Open “Log on as a service” and add the computer’s local “Administrators” user group
  5. Go back to the DirSync Server and perform the “gpupdate /force”
  6. Then perform “Start-onlineCoexistanceSync” in the DirSyncPowershell
Please feel free to comment for any questions.

By Kingson Jebaraj

Microsoft MVP, Blogger, Owner and Publisher for Cloudexchangers.com, Microsoft TechNet Author, Solution Architect, Former Office365 Technical Lead for Microsoft(Partner) Extensive knowledge and experience in Microsoft Exchange and Cloud Messaging Services and has got more exposure on Messaging environment deployment,migration,designing and other project management activities, I have earned real time experience in handling multi-site distributed critical large environment of messaging system. Been awarded as an MVP (Microsoft Most Valuable Professional) for Office Servers and services from Microsoft for an exceptional real world contribution made through Microsoft forums and other Microsoft communities. Currently working as “Solution Architect” on Private/Public cloud and SaaS environment for Pacific Controls, UAE, Dubai. One of the largest TIER III certified green data center campus in the middle east.

Leave a Reply

Your email address will not be published. Required fields are marked *