Error installing Azure AD Connect

NMOPOPT 20 Reputation points
2023-10-09T11:41:58.32+00:00

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.

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Answer accepted by question author
  1. Michael Smith 2,931 Reputation points Microsoft Employee Moderator
    2023-10-09T15:50:55.89+00:00

    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.