Hybrid Federated Search from SPO to SP on-prem

New Contributor


I have configured hybrid federated search for SPO to SP on-prem. A reverse proxy is already in place and KCD is working just fine. We use Azure AD Application Proxy as the reverse proxy.

We have created the Secure Store object in SPO and uploaded the SSL certificate used by the Reverse Proxy (wild card cert).

After creating the result source the problem occurs.

When I run Test Result Source I receive the following errors depending on if I have included the private key or not:


2¾2¾Failed to retrieve certificate from properties, not calling secure store proxy due to TWSRemoveSecureStoreProxyCall flight being enabled. WSRemoveSecureStoreProxy flight is enabled


0¾Microsoft.SharePoint.Client.ClientRequestException: Cannot contact site at the specified URL https://sharepoint.demo365.nu.
at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfo(WebRequestExecutor executor)
at Microsoft.SharePoint.Client.


Any help or guidance is much appreciated!

Search is working fine in each individual platform but not in hybrid. AD and Azure AD is federated via Azure AD Connect and SSO works great between the platforms.

Thanks in advanced!


3 Replies

@Martin_Ericsson  is the issue resolved?

I am facing the same issue for inbound hybrid federated search in online Search Result source page

@aurramu Sadly No. MS support is working on it and was able to re-produce the error on their environment after many months.

I wont recommend anyone going down this path since we have spent a lot of time debugging this together with the support and actually not coming anyway near a solution.

The Hybrid Federated Search have so many limitations and is so unstable so I will not go for it again. It feel that its just a matter of time until its withdrawn as an solution.



@Martin_Ericsson @aurramu 


This has been RESOLVED. I recently setup Inbound Hybrid search for my client and had faced series of errors including this one but managed to resolve all of them, With Microsoft support as well towards the end.

I have documented everything on this blog here: SharePoint 2019/Online INBOUND HYBRID FEDERATED SEARCH issues and resolutions – Vivek Malviya's Blog...


Hope this helps!