I too got it resolved by enabling TLS 1.2.
I just want to add where the instructions are, that I followed (as it took some time to find those):
https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/reference-connect-tls-enforcement
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
unable to validate credentials due to an unexpected error. restart azure ad connect with the /interactiveauth option to further diagnose this issue. (extenedmessage: an error occorred while sending the request. | The underlying connection was closed: An existing connection was forcibly closed by the remote host. webException: the underlying connection was closed: an unexpected error occured on a send. STS endpoint HTTPS://Login.micosoftonline.com/ourdomain.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I too got it resolved by enabling TLS 1.2.
I just want to add where the instructions are, that I followed (as it took some time to find those):
https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/reference-connect-tls-enforcement
Enabling TLS 1.2 resolved the issue.
I've been having the same issue for over a week. I also launch the installer using the /interactiveauth switch.
Checking the trace log files, I see this:
[09:44:43.721] [ 9] [ERROR] AzureConfigurationFromPrincipalName: Unable to determine the Azure instance for UPN (myemail@mydomain.com). Defaulting to the WorldWide instance which may result in authentication failures. Resolution Method [DomainSuffixMapping]: Unknown MOERA domain suffix. Defaulting to WorldWide which may result in subsequent authentication failures. Resolution Method [AzureInstanceDiscovery]: Unexpected failure. An error occurred while sending the request.. Continuing resolution.
[09:44:43.733] [ 9] [INFO ] ResolveAzureInstance [Default]: authority=HTTPS://LOGIN.MICROSOFTONLINE.COM/MYDOMAIN.COM, Resolution Method [DomainSuffixMapping]: Unknown MOERA domain suffix. Defaulting to WorldWide which may result in subsequent authentication failures. Resolution Method [AzureInstanceDiscovery]: Unexpected failure. An error occurred while sending the request.. Continuing resolution.
[09:44:43.770] [ 9] [INFO ] Authenticate-MSAL [Acquiring token]: STS endpoint (HTTPS://LOGIN.MICROSOFTONLINE.COM/MYDOMAIN.COM), scope (https://graph.windows.net/user\_impersonation), userName (myemail@mydomain.com).
[09:44:43.771] [ 9] [INFO ] MSAL.ClearTokenCache [Clearing Token Cache]
[09:44:43.845] [ 9] [INFO ] MSAL: False MSAL 4.36.0.0 MSAL.Desktop 4.8 or later Windows Server 2016 Datacenter [08/14 14:44:43.84 - 11********-7**c-4**3-8**4-e***********25] [Region discovery] Azure region was not configured or could not be discovered. Not using a regional authority.
[09:44:43.854] [ 9] [INFO ] MSAL: False MSAL 4.36.0.0 MSAL.Desktop 4.8 or later Windows Server 2016 Datacenter [08/14 14:44:43.85] Found 0 cache accounts and 0 broker accounts
[09:44:43.855] [ 9] [INFO ] MSAL: False MSAL 4.36.0.0 MSAL.Desktop 4.8 or later Windows Server 2016 Datacenter [08/14 14:44:43.85] Returning 0 accounts
[09:44:43.855] [ 9] [INFO ] Authenticate-MSAL [InteractionMode.Desktop]: user interaction required to complete authentication. [09:44:43.860] [ 9] [INFO ] Authenticate-MSAL: acquiring token using interactive authentication.
Hi Derek Kelsheimer,
Thank you for posting in the Microsoft Community Forums.
Here are some possible solution steps and checkpoints to help you diagnose and resolve the issue:
Best regards
Neuvi Jiang