ADSync service not starting

Eben van Rooyen 0 Reputation points
2023-05-22T15:04:17.4966667+00:00

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.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,518 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Andy David - MVP 150.5K Reputation points MVP
    2023-05-22T15:13:54.67+00:00

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


  3. 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:

    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.


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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.