Forum Discussion

O365Freak's avatar
O365Freak
Copper Contributor
Aug 15, 2019

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

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

  • Lewis-H's avatar
    Lewis-H
    Iron Contributor
    <#
    .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.
    #>

Resources