Issue with Entra Connect Tool installation on Windows Server 2016

Subhash Kumar Mahato 265 Reputation points
2024-08-08T07:36:17.23+00:00

I am trying to install the Entra Connect tool on a Windows Server 2016. However, I am getting an error message that says:

"Unable to validate credentials due to an unexpected error. Restart Azure AD Connect with the /InteractiveAuth option to further diagnoses this issue. (externedMessage: An error occurred while sending the request. | The underlying connection was closed: An unexpected error occurred on a send. | unable to read data from the transport connection: An existing connection was forceibly colsed by the remote host. "

I have tried running the Entra connect with the /InteractiveAuth parameter using the command prompt, but I still get the same error message.

Here is some information about my infrastructure:

  • The domain controller and the sync server are deployed on Hyper-V VM.
  • Both are connected using a private switch.
  • There is another default switch attached to provide internet access.

I have included a screenshot of the error message.

EntraConnectIssue

Can anyone help me understand why I am encountering this issue and how to resolve it? Thank you.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Akhilesh Vallamkonda 15,320 Reputation points Microsoft External Staff Moderator
    2024-08-09T01:57:11.9833333+00:00

    Hi @Subhash Kumar Mahato

    I am sorry for the inconvenience you have faced while you are configuring the Entra connect.

    It might be issue with the TLS 1.2 is not enabled in the .NET framework

    Could you please run the below PowerShell script to enforce TLS 1.2.

    PowerShell script to enable TLS 1.2
    Before installing, please read and verify the Prerequisites for Microsoft Entra Connect.

    If your Hybrid Identity Administrators have MFA enabled, the URL https://secure.aadcdn.microsoftonline-p.com must be in the trusted sites list. You're prompted to add this site to the trusted sites list when you're prompted for an MFA challenge, and it hasn't been added before. You can use Internet Explorer to add it to your trusted sites.

    If the issue persists, please refer the below article

    Azure AD Connect – Unable to validate credentials due to an unexpected error.

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Akhilesh.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    2 people 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.