Did someone reset the password?
ADSync service not starting
Hi
I am sitting with a customer where the AD Sync service fails to start. It gives a "Login failed for user" error in the event viewer.
It was working perfectly untill a couple of nights ago. When you try and run AAD Connect, it just fails saying that the service is not started.
Any assistance will be appreciated.
4 answers
Sort by: Most helpful
-
-
Marilee Turscak-MSFT 36,946 Reputation points Microsoft Employee
2023-05-22T23:23:35.17+00:00 Hi @Eben van Rooyen ,
To add to Andy David's answer, I would recommend checking the Event Viewer to see if there are any additional errors or Event IDs listed. It sounds like you might be receiving the error "Error 1069: The service did not start due to a logon failure."
If you check the Event Viewer, you may see more detailed information. For example, if you see "Event ID 7041: This service account does not have the required user right 'Log on as a service'", it's possible that you are using a virtual service account which doesn't exist at the domain, but you are modifying the user right settings through a GPO. If this is the case, you may need to add some exclusions to your group policy or clear the password fields from the service account. See also: https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/services-sync-not-start
Let me know if this helps and if you have further questions.
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar information.
-
Eben van Rooyen 0 Reputation points
2023-05-23T06:31:41.8333333+00:00 Good Morning
I had a look in the event viewer again.
The only errors I can see is:
- Failed to open database
Event ID : 6215
Login failed for user
Failure Code : 0x80004005
Minor Number : 18456
- ADSync service failed to successfully start and is attempting to retry
Event ID : 2005
Login failed for user
Failure Code : 0x80004005
Minor Number : 18456
Cannot open database ADSync The login failed
Minor number : 4060
Any help will be appreciated.
-
Eben van Rooyen 0 Reputation points
2023-05-24T06:12:38.3433333+00:00 Good Morning
I hope you all are doing well.
Just want to follow up if anyone maybe has an answer for me on this issue. What would the next steps be to try and get this sorted?
Any feedback will be highly appreciated.