Issue – Running Exchange 2013 Hybrid Configuration Wizard (HCW) fails at the very beginning with following error:
Unable to access the Federation Metadata document from the federation partner. Detailed information: “Unable to connect to the remote server”
Solution – This is mostly related to a missing Proxy-Server configuration which is in between your Exchange on premises server and Exchange Online.
Firstly, you should check that the Internet Explorer has the right entries:
Secondly, check your winhttp settings with:
1 |
netsh winhttp show proxy |
If there a “Direct” connection is configured you should import your IE settings with:
1 |
netsh winhttp import proxy source=ie |
Thirdly, also check your Exchange 2013 Server for a correct setting:
1 |
Get-ExchangeServer -Identity yourservername | select *proxy* |
If that is empty, set the correct values:
1 |
Set-ExchangeServer -Identity yourservername -InternetWebProxy http://10.200.200.200:8091 |
Note: If your company security division forces a Proxy Authentication for that, this stuff is broken for ever ;-) – So get rid of that proxy authentication, at least for that piece of Exchange Server. There are ways to handle proxy auth but to be honest –> KIS – Keep it simple!
Finally, your HCW should allow to get finished now :-)
cheers, Alex