Share via

Error installing Azure AD Connect

NunoMariano-8843 20 Reputation points
Oct 9, 2023, 11:41 AM

Hi,

We had "successfully" running AD Connect 2.0.3.0 (password hash sync) with 50 on-premises AD endpoints.

We are installing a staging server with 2.2.1.0 and importing a 2.1.1.0 configuration file with only 2 endpoints.

When we trying to connect to the directories this error appears:

User's image

On the ADConnectivityTool log we can see:

[09/10/2023 12:30:56] [INFO   ] Starting NetworkConnectivityDiagnosisTools [09/10/2023 12:30:56] [INFO   ] Verifying that 'domain.local' exists [09/10/2023 12:30:56] [SUCCESS] domain.local exists [09/10/2023 12:30:56] [INFO   ] Verifying if the provided credentials are correct [09/10/2023 12:30:56] [INFO   ] Attempting to obtain a domainFQDN [09/10/2023 12:30:56] [INFO   ] Attempting to retrieve DomainFQDN object... [09/10/2023 12:30:56] [SUCCESS] The provided credentials were correct [09/10/2023 12:30:56] [INFO   ] Attempting to obtain Domain Controllers associated with domain.local [09/10/2023 12:30:56] [INFO   ] Obtaining ForestFQDN [09/10/2023 12:30:56] [INFO   ] Attempting to retrieve ForestFQDN... [09/10/2023 12:30:59] [SUCCESS] ForestFQDN Name is: domain.local [09/10/2023 12:30:59] [INFO   ] Attempting to retrieve domain: domain.local [09/10/2023 12:30:59] [INFO   ] Please ensure that the domain: domain.local is reachable. Otherwise install using "Custom" option and provide user created account to proceed with unreachable domain(s).

 

Any suggestions?

Thanks in advance.

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

Accepted answer
  1. Michael Smith 2,926 Reputation points Microsoft Employee
    Oct 9, 2023, 3:50 PM

    Hi NunoMariano,

    I based my reply from your update with the following errors.

    Error 0x31 is and LDAP error for invalid credentials.

    14:57:22.165] [104] [INFO ] SyncDataProvider: Calling refresh schema on connector domain.local

    [14:57:23.124] [104] [ERROR] ConfigSyncDirectoriesPage: Caught exception while creating the connector for directory: domain.local.

    Exception Data (Raw): System.Management.Automation.CmdletInvocationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2023-10-09 13:57:22.337</date><server>domain.local:389</server><cd-error><error-code>0x31</error-code>

    <error-literal>Invalid Credentials</error-literal>

    https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/a465ae57-5f89-4539-88b3-90cf37a5ae06

    490x31invalidCredentialsinvalidCredentialsLDAP_INVALID_CREDENTIALSERROR_LOGON_FAILUREWhat Active Directory membership does the credentials you are using have?

    Please ensure you have the correct username and password and add the account to Enterprise Admin group for the root domain.


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.