Hi,
I am encountering an error while trying to install Microsoft Entra Connect on my passive server at the DR site. The production Entra Connect server is working without any issues.
Background:
Microsoft Entra Connect was previously installed on this DR server. When I attempted to upgrade it to version 2.6.92.0, the upgrade failed with the following errors:
[ERROR] TryConfigureApplicationAuthenticationInteractiveUpgrade::
Failed to set up application authentication. ExitCode: 98
[15:47:51.352] [38] [ERROR] ConfigureSyncEngineStage:
ABA configuration failed during interactive upgrade.
After several unsuccessful troubleshooting attempts, I decided to completely uninstall Microsoft Entra Connect and perform a fresh installation on the passive server.
I uninstalled the application and manually cleaned up the remaining Entra Connect-related files from the Program Files and ProgramData directories.
However, during the fresh installation, I am now encountering another error at the AD DS connection/configuration stage, which prevents the installation from proceeding.
Current issue:
Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2026-11-5 12:42:53.756</date><server>domain.local:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
</cd-error></incident></error></error>
Exception Data (Raw): System.Management.Automation.CmdletInvocationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2026-11-5 12:42:53.756</date><server>domain.local:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
</cd-error></incident></error></error> ---> Microsoft.IdentityManagement.PowerShell.ObjectModel.SynchronizationConfigurationValidationException: Failed to retrieve schema.<error><error><incident><connection-result>failed-authentication</connection-result><date>2026-11-5 12:42:53.756</date><server>domain.local:389</server><cd-error><error-code>0x31</error-code>
<error-literal>Invalid Credentials</error-literal>
</cd-error></incident></error></error>
I have already performed the following troubleshooting steps:
Tried using different accounts with Domain Admin and Enterprise Admin privileges, but the issue persists.
Verified DNS resolution, network connectivity, and LDAP connectivity. Everything appears to be working correctly.
Temporarily disabled the EDR solution to rule out any interference, but the issue remains.
Despite verifying the account permissions and connectivity, I am still unable to complete the installation.
Any suggestions on additional troubleshooting steps or components that need to be cleaned up before reinstalling would be appreciated.
Thank you!