"Execution of the Get-WebServicesVirtualDirectory cmdlet has thrown an exception" error when you run the Hybrid Configuration wizard

Note The Hybrid Configuration wizard that's included in the Exchange Management Console in Microsoft Exchange Server 2010 is no longer supported. Therefore, you should no longer use the old Hybrid Configuration wizard. Instead, use the Office 365 Hybrid Configuration wizard that's available at http://aka.ms/HybridWizard. For more information, see Office 365 Hybrid Configuration wizard for Exchange 2010.

PROBLEM

When you run the Hybrid Configuration wizard in Microsoft Exchange Server 2013, you receive the following error message:
Execution of the Get-WebServicesVirtualDirectory cmdlet has thrown an exception. This may indicate invalid parameters in your hybrid configuration settings.
This prevents the wizard from finishing.

CAUSE

A time-out occurred when the Hybrid Configuration wizard was enabling the Mailbox Replication Service Proxy (MRS Proxy) endpoint. This behavior may occur in larger environments.

WORKAROUND

To work around this issue, use one of the following methods, as appropriate for your situation.

If you have Exchange Server 2013 and Exchange Server 2010 servers in your on-premises environment

Configuration of the MRS Proxy endpoint is the last step in the wizard. You can safely ignore the error message.

Verify that the MRS Proxy endpoint is enabled for all the Exchange Server 2013 and Exchange Server 2010 servers. For information about how to do this, see Enable the MRS Proxy endpoint for remote moves.

Or, you can use the Microsoft Office 365 Hybrid Configuration Wizard stand-alone application from http://aka.ms/HybridWizard to set up the hybrid environment.

If you have only Exchange Server 2013 servers in your on-premises environment

Verify that the MRS Proxy endpoint is enabled. For information about how to do this, see Enable the MRS Proxy endpoint for remote moves.

The error message also prevents the Hybrid Configuration wizard from displaying the link to the Exchange Hybrid (OAuth) Configuration wizard after the Hybrid Configuration wizard finishes. If your topology must have Exchange OAuth authentication set up, see Exchange Hybrid Configuration (OAuth).

Or, you can use the Microsoft Office 365 Hybrid Configuration Wizard stand-alone application from http://aka.ms/HybridWizard to set up the hybrid environment.

If you have only Exchange Server 2010 servers in your on-premises environment

Configuration of the MRS Proxy endpoint is the last step in the wizard. You can safely ignore the error message.

Verify that the MRS Proxy endpoint is enabled for all Exchange 2010 servers. For information about how to do this, see Enable the MRS Proxy endpoint for remote moves.

STATUS

This is a known issue. We're working to address this issue and will post more information in this article when such information becomes available.

MORE INFORMATION

Still need help? Go to Microsoft Community or Exchange TechNet Forums.
Properties

Article ID: 3032093 - Last Review: Dec 29, 2016 - Revision: 1

Microsoft Exchange Online, Microsoft Exchange Server 2013 Enterprise, Microsoft Exchange Server 2013 Standard Edition

Feedback