SharePoint Hybrid setup - Failed to call PreparePushTenant, error was Exception calling ExecuteQuery

%3CLINGO-SUB%20id%3D%22lingo-sub-807019%22%20slang%3D%22en-US%22%3ESharePoint%20Hybrid%20setup%20-%20Failed%20to%20call%20PreparePushTenant%2C%20error%20was%20Exception%20calling%20ExecuteQuery%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-807019%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20trying%20to%20setup%20SharePoint%20Hybrid%20Search%20connectivity%20using%20CloudSSA.%3C%2FP%3E%3CP%3Ei%20was%20able%20to%20successfully%20run%20the%201st%20powershell%20script%20as%20mentioned%20in%20the%20MS%20article%26nbsp%3B%3CSTRONG%3ECreateCloudSSA.ps1%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EAfter%20this%20when%20we%20try%20to%20run%20the%20next%20powershell%20(Onboard-CloudHybridSearch.ps1)%20to%20connect%20CloudSSA%20to%20O365%20tenant%2C%20we%20are%20getting%20following%20error%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3EFailed%20to%20call%20PreparePushTenant%2C%20error%20was%20Exception%20calling%20%22ExecuteQuery%22%20with%20%220%22%20argument(s)%3A%20%22The%20request%20was%20aborted%3A%20The%20request%20was%20canceled.%22%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3EAt%20C%3A%5Ctemp%5COnboard-CloudHybridSearch.ps1%3A491%20char%3A17%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3E%2B%20...%20throw%20%22Failed%20to%20call%20PreparePushTenant%2C%20error%20was%20%24(%24_.E%20...%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3E%2B%20CategoryInfo%20%3A%20OperationStopped%3A%20(Failed%20to%20call%20...%20was%20canceled.%22%3AString)%20%5B%5D%2C%20RuntimeException%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3E%2B%20FullyQualifiedErrorId%20%3A%20Failed%20to%20call%20PreparePushTenant%2C%20error%20was%20Exception%20calling%20%22ExecuteQuery%22%20with%20%220%22%20argument(s)%3A%20%22The%20request%20was%20aborted%3A%20The%20request%20w%20%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%221%202%203%204%205%206%207%22%3Eas%20canceled.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-807019%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1417964%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Hybrid%20setup%20-%20Failed%20to%20call%20PreparePushTenant%2C%20error%20was%20Exception%20calling%20ExecuteQ%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1417964%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F393025%22%20target%3D%22_blank%22%3E%40O365Freak%3C%2FA%3E%26nbsp%3Bdid%20you%20ever%20work%20this%20issue%20out%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1417987%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Hybrid%20setup%20-%20Failed%20to%20call%20PreparePushTenant%2C%20error%20was%20Exception%20calling%20ExecuteQ%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1417987%22%20slang%3D%22en-US%22%3E%26lt%3B%23%3CBR%20%2F%3E.TERMS%3CBR%20%2F%3ERefer%20to%20Microsoft%20Connect%20Terms%20of%20use%20%3CA%20href%3D%22http%3A%2F%2Fconnect.microsoft.com%2Fterms.aspx%23O%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttp%3A%2F%2Fconnect.microsoft.com%2Fterms.aspx%23O%3C%2FA%3E%3CBR%20%2F%3E.SYNOPSIS%3CBR%20%2F%3EThis%20script%20onboards%20your%20SharePoint%20Online%20(SPO)%20tenant%20into%20the%20cloud%20hybrid%20search%20SharePoint%20Server%202013%20Preview%2FSharePoint%202016%20Preview%3CBR%20%2F%3E.PARAMETER%20PortalUrl%3CBR%20%2F%3ESharePoint%20Online%20portal%20URL%2C%20for%20example%20'%3CA%20href%3D%22https%3A%2F%2Fcontoso.sharepoint.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcontoso.sharepoint.com%3C%2FA%3E'.%3CBR%20%2F%3E.PARAMETER%20HybridSsaId%3CBR%20%2F%3EName%20or%20id%20(Guid)%20of%20the%20cloud%20hybrid%20search%20application%2C%20created%20with%20the%20CreateCloudSSA%20script.%3CBR%20%2F%3E.PARAMETER%20Credential%3CBR%20%2F%3ELogon%20credential%20for%20tenant%20admin.%20Will%20be%20prompted%20if%20not%20specified.%3CBR%20%2F%3E%23%26gt%3B%3C%2FLINGO-BODY%3E
Occasional Visitor

We are trying to setup SharePoint Hybrid Search connectivity using CloudSSA.

i was able to successfully run the 1st powershell script as mentioned in the MS article CreateCloudSSA.ps1

After this when we try to run the next powershell (Onboard-CloudHybridSearch.ps1) to connect CloudSSA to O365 tenant, we are getting following error,

 

Failed to call PreparePushTenant, error was Exception calling "ExecuteQuery" with "0" argument(s): "The request was aborted: The request was canceled."
At C:\temp\Onboard-CloudHybridSearch.ps1:491 char:17
+ ... throw "Failed to call PreparePushTenant, error was $($_.E ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Failed to call ... was canceled.":String) [], RuntimeException
+ FullyQualifiedErrorId : Failed to call PreparePushTenant, error was Exception calling "ExecuteQuery" with "0" argument(s): "The request was aborted: The request w
as canceled.

2 Replies
<#
.TERMS
Refer to Microsoft Connect Terms of use http://connect.microsoft.com/terms.aspx#O
.SYNOPSIS
This script onboards your SharePoint Online (SPO) tenant into the cloud hybrid search SharePoint Server 2013 Preview/SharePoint 2016 Preview
.PARAMETER PortalUrl
SharePoint Online portal URL, for example 'https://contoso.sharepoint.com'.
.PARAMETER HybridSsaId
Name or id (Guid) of the cloud hybrid search application, created with the CreateCloudSSA script.
.PARAMETER Credential
Logon credential for tenant admin. Will be prompted if not specified.
#>