Can't install Microsoft Azure Active Directory Connect V2

Slade Stull 0 Reputation points
2023-09-21T13:31:40.4166667+00:00

I am trying to create an On-Site File Server using Microsoft Azure Active Directory Connect V2 to sync my domain from my Office 365.

Here is the error code from the system logs:

Error 1:
SynchronizationServiceSetupTask:InstallCore - Caught unexpected exception. Details System.InvalidOperationException: LocalDB powershell operation failed on ADSync Bootstrap service: Enable-ADSyncBootstrapLocalDBInstance

at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.EnableADSyncBootstrapLocalDBInstance(Version targetInstanceVersion, String targetInstanceName, String syncAdminsGroupName, String currentUserAccount)

at Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SynchronizationServiceSetupTask.InstallCore(String logFilePath, String logFileSuffix)

Error 2:

LocalDB powershell operation failed on ADSync Bootstrap service: Enable-ADSyncBootstrapLocalDBInstance

I am however getting stuck on this error code below, Any help would be appreciated!

Any suggestions are appreciated!

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,522 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,694 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 36,846 Reputation points Microsoft Employee
    2023-09-22T19:53:16.45+00:00

    @Slade Stull ,

    Azure AD Connect must be installed on a domain-joined Windows Server 2019 or later, so make sure that you are using the correct version. Versions 6.1.7601 or higher should be accepted.
    https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-install-prerequisites

    I have also seen a similar issue if the sync service account has issues retrieving credentials. Could you try logging in with an admin account that never logged onto this server before and attempt a reinstall?

    In addition, the error you cited can be caused by the SQL Server Native Client not supporting TLS 1.2. To fix this, you would need to install SQL server Express and ensure that the LocalDB is also installed.

    Related issues:

    Azure AD Connect fails to install

    Let me know if you still face this issue after confirming these things. It would also help to be able to see the Event logs and system logs.

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching the same issue. Otherwise let me know if you have further questions.

    0 comments No comments

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.