Error Unable to access the Federation Metadata document from the federation partner


When I run Hybrid configuration wizard on Exchange 2013, On Federation Trust page, I got below error

PowerShell failed to invoke ‘New-Federation Trust’: Unable to access the Federation Metadata document from the federation partner. Detailed information: “Unable to connect to the remote server”


How to resolve this issue?


I checked on Open Log file to check more details about issue. I found this issue happened when try to connect SRVMBX1. To resolve this issue, you need to follow below steps:

  1. Go to server SRVMBX1, open Internet explorer and try to open
  2. In my case, This mailbox server access internet with proxy and open above URL.
  3. Then Open Command Prompt and run below command to verify that proxy address that exist in internet explorer
  4. netsh winhttp show proxy


  5. In my case, It didn’t show so that i ran this command
  6. netsh winhttp import proxy source=ie


  7. Then you need to open Exchange PowerShell, and ran this command to verify that Exchange see the proxy
  8. Get-ExchangeServer -Identity srvmbx1 | select *proxy*


  9. If it show empty or Value not as exist in internet explorer, you will need to ran this command
  10. Set-ExchangeServer -Identity srvmbx4 -InternetWebProxy


  11. Then Enable Federation trust should work run successfully.


If you had multiple server for mailbox, you will need to repeat above steps on all Mailbox servers.



This entry was posted in Office 365. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s