Exchange Connection Problems

Fix Exchange Hybrid Federation Trust Connection Closed Errors

Emma BrownEmma Brown Nov 22, 2026 868 views

Question details

Resolve a connection closed error that prevents the Exchange Hybrid Configuration Wizard from creating a federation trust.

Fix Exchange Hybrid Federation Trust Connection Closed Errors
Product
Microsoft Exchange Server Hybrid Configuration Wizard
Device & OS
Windows Server (version not provided)
Scenario
Creating a federation trust during Exchange hybrid configuration.
Observed behavior
The wizard cannot retrieve the federation metadata document and reports that the connection closed unexpectedly, even though the metadata URL can be opened.
Before you start

Identify the Exchange Server and Windows Server versions, the affected server, and the federation metadata URL in the error. Review Microsoft's Exchange TLS guidance for those versions and arrange a maintenance window if configuration changes require a restart.

Solution 1Recommended

Configure TLS 1.2 for Exchange Server and Windows

Use this approach when the metadata URL is reachable but the federation trust connection still closes.

Opening the metadata URL in a browser does not prove that Exchange and its .NET components can negotiate the same TLS connection. Protocol, cipher suite, and .NET settings can differ by application and server configuration.

1
Check supported TLS settings

On the affected Exchange server, compare its Exchange build, Windows version, TLS protocols, and cipher suites with Microsoft's current Exchange TLS guidance.

2
Apply required configuration

Use Microsoft's version-specific guidance to configure TLS 1.2 and any required Windows registry and .NET Framework settings. Ensure the server has compatible cipher suites enabled.

3
Restart and retry

Restart the server as directed by the guidance, then open the Hybrid Configuration Wizard and run the configuration again.

Configure TLS 1.2 for Exchange Server and Windows
Check version compatibility: Do not disable older protocols or change cipher suites without checking the requirements of the Exchange build and other applications on the server.
Free Microsoft Office alternative

Work with Office documents while troubleshooting Exchange

WPS Office is a free, lightweight, easy-to-use alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make migration easier, although it does not fix Exchange federation or TLS configuration.

Document troubleshooting steps and share them with your Exchange administratorsOpen and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface for everyday office tasksGet a free, lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does federation trust fail when the metadata URL opens in a browser?

The browser and Exchange components may use different TLS or proxy settings. Check the affected server's TLS 1.2, cipher suite, .NET, and WinHTTP configuration against Microsoft's Exchange TLS guidance.

How do I check the server's WinHTTP proxy?

On the affected Exchange server, open a command prompt and run netsh winhttp show proxy. Compare the result with your network's requirements for reaching the federation metadata endpoint.

Can I test a federation trust from Exchange?

If a federation trust already exists, run Test-FederationTrust in the Exchange Management Shell. Review the results alongside the public federation domain proof TXT record and certificate configuration.

Does enabling MRS Proxy fix the federation metadata error?

Not necessarily. MRS Proxy is relevant to hybrid mailbox migration, while metadata retrieval can fail because of TLS, certificates, connectivity, or proxy settings. Check MRSProxyEnabled with Get-WebServicesVirtualDirectory, but investigate the metadata connection separately.