Trying to install a new Domain Controller with Azure AD Connect and getting error Unable to create the sync service account in Azure Active Directory.

Rene Pineda 25 Reputation points
2023-10-10T14:12:26.7766667+00:00

trace-20231010-133218.log

Unable to create the synchronization service account for Azure Active Directory when setting up Microsoft Azure Active Directory Connect.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Other
0 comments No comments
{count} votes

Accepted answer
  1. Domooney-MSFT 2,606 Reputation points Microsoft Employee Moderator
    2023-10-10T14:33:27.7133333+00:00

    Hi @Rene Pineda

    Thank you for posting your query on Microsoft Q&A.

    It looks like your newly created Azure AD connector sync account is being blocked by a Conditional Access policy in your tenant.

    If you find the newly created user, the name will be prefixed with "Sync_" as described in this article -https://learn.microsoft.com/en-us/azure/active-directory/hybrid/connect/reference-connect-accounts-permissions#microsoft-entra-connector-account

    Navigate to this users non-interactive sign-in logs, and check for the logins which fail with "AADSTS50079" - In here you can check which Conditional Access policies are blocking the sign-in, the policy is requiring the user to register for MFA which it cannot do as it is a service account.

    Once you determine which policies are enforcing MFA for this account, you can exclude this user from the impacting policies and retry the installer.

    Do let me know if you have any further questions, I would be happy to help!

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.