Tuesday, 15 December 2015

DirSync Fails Post Reboot

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.

No comments:

Post a Comment

Blog Archive