ADSync service not starting

Eben van Rooyen 0 Reputation points


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.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,739 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Andy David - MVP 121K Reputation points MVP

  2. Marilee Turscak-MSFT 24,231 Reputation points Microsoft Employee

    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:

    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.

  3. Eben van Rooyen 0 Reputation points

    Good Morning

    I had a look in the event viewer again.

    The only errors I can see is:

    1. Failed to open database

    Event ID : 6215

    Login failed for user

    Failure Code : 0x80004005

    Minor Number : 18456

    1. 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.

    0 comments No comments

  4. Eben van Rooyen 0 Reputation points

    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.

    0 comments No comments