"The term 'Get-HybridMailflowDatacenterIPs' is not recognized" 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.


You want to set up a hybrid deployment between your on-premises Exchange Server organization and Exchange Online in Office 365. However, when you run the Hybrid Configuration wizard, the wizard doesn't complete successfully, and you receive a "'Get-HybridMailflowDatacenterIPs' is not recognized" error message. The full text of this message resembles the following:

ERROR:Updating hybrid configuration failed with error 'Subtask CheckPrereqs execution failed: Configure Mail Flow

Execution of the Get-HybridMailflowDatacenterIPs cmdlet had thrown an exception. This may indicate invalid parameters in your Hybrid Configuration settings.

The term 'Get-HybridMailflowDatacenterIPs' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke() at Microsoft.Exchange.Management.Hybrid.RemotePowershellSession.RunCommand(String cmdlet, Dictionary`2 parameters, Boolean ignoreNotFoundErrors)'.


The Hybrid Configuration wizard depends on the availability of an Office 365 plan in which it can access the Get-HybridMailflowDatacenterIPs cmdlet. The error message indicates that the subscriptions that you currently have cannot access this cmdlet.


Add a trial subscription of Office 365 Enterprise E3 to your account. After you add the Office 365 Enterprise E3 plan, the Hybrid Configuration Wizard will complete successfully. To add a trial subscription, follow these steps:

  1. Sign in to the Office 365 portal (https://portal.office.com).

  2. To open the Microsoft 365 admin center, click Admin.

  3. In the navigation pane, expand Billing, click Subscriptions, and then click New Subscription.

  4. Under Office 365 Enterprise E3, click Trial, and then follow the steps that are displayed on the screen.

For more help to work around this issue, contact Microsoft Support.


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


Still need help? Go to Microsoft Community or the Exchange TechCenter forums.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.