Hello everyone,
This could help you...
After upgrading from a lower to a higher version (e.g. Exch 2010 to 2013) you may need to re-build TLS 1.2 on the server.
When running the HCW, it stuck around the domain validation and by running this command in powershell we could see this error
few check to be 100% the issue root
1-From the Exchange on-premises server, in windows PowerShell as admin run:
Add-Pssnapin *exchange*
Set-FederatedOrganizationIdentifier -AccountNamespace domain.com -DelegationFederationTrust "Microsoft Federation Gateway" -Enabled: $true -verbose
-From the output we got
[3]: System.Net.Sockets.SocketException
An existing connection was forcibly closed by the remote host SocketErrorCode: ConnectionReset ErrorCode: 10054
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
2-See if this site open ok
https://domains.live.com/service/managedelegation2.asmx
SOLUTION
-Re-build the TLS 1.2 in the server by runing the .ps1, check below:
Enable TLS 1.2 in Windows Server ยท GitHub