Jaa


Learn about hybrid federated search for SharePoint in Microsoft 365

APPLIES TO: yes-img-132013 yes-img-162016 yes-img-192019 yes-img-seSubscription Edition yes-img-sopSharePoint in Microsoft 365

Important

Hybrid Federated Search in SharePoint for Microsoft 365 (Inbound), the capability to display search results from SharePoint on-premises content in SharePoint Online, has been retired as of September 2024. Hybrid Federated Search for SharePoint Server (Outbound), the ability to view SharePoint Online search results in SharePoint on-premises, and Cloud hybrid search remain operational. If you need to display search results from external content in SharePoint Online, we recommend you use Microsoft Search Graph Connectors or Cloud hybrid search.

With the hybrid federated search solution, you use both your index in SharePoint Server and your index in Microsoft 365. Both SharePoint Server and SharePoint in Microsoft 365 Search services can query the search index in the other environment and return federated results. When users search from a Search Center, the search results come from both your search index in SharePoint Server and your search index in Office 365.

Illustration show search in two environments, one with hybrid federated search and one without.

The Search Centers display results from the environments in two separate result blocks. Each Search Center displays and ranks search results from its own environment and uses ranking from the other environment for the other environment's search results. Let's use the Search Center in SharePoint in Microsoft 365 as an example. This Search Center displays and ranks search results from the search index in Office 365, but for search results from the search index in SharePoint Server this Search Center uses the ranking from SharePoint Server and displays these search results in the order that they arrive.

Illustration shows search results with hybrid federated search, separate ranking for on-premises and Microsoft 365 content.

If you've synchronized Active Directory (AD) between your on-premises network (Windows Server Active Directory) and your Microsoft 365 organization (Microsoft Entra ID), Microsoft 365 alters the document permissions that refer to on-premises users, so they refer to the corresponding Microsoft 365 users, and the other way around. Users only see search results for content they have access to.

Hybrid federated search results in SharePoint Server

Illustration shows an on-premises search center getting results from the search index in Office 365 and the search index in SharePoint Server.

Show search results from SharePoint in Microsoft 365 in a Search Center in SharePoint Server. This is the simplest scenario to set up because an outbound connection doesn't require a reverse proxy device.

Hybrid federated search results in SharePoint in Microsoft 365

Illustration shows the Microsoft 365 search center getting results from the search index in Office 365 and the search index in SharePoint Server

Important

Hybrid Federated Search in SharePoint for Microsoft 365 (Inbound) has been retired as of September 2024.

Show search results from SharePoint Server in a Search Center in SharePoint in Microsoft 365. This scenario requires a reverse proxy device, see Display hybrid federated search results in SharePoint in Microsoft 365.

Hybrid federated search from both SharePoint Server and SharePoint in Microsoft 365

Illustration shows the Microsoft 365 search center and a search center in SharePoint Server getting results from the search index in Office 365 and the search index in SharePoint Server

Show search results from both environments in Search Centers both in SharePoint in Microsoft 365 and SharePoint Server. This scenario requires a reverse proxy device, see Display hybrid federated search results in SharePoint Server and Display hybrid federated search results in SharePoint in Microsoft 365.

Should you set up hybrid federated search in the SharePoint Server farm, or in SharePoint in Microsoft 365?

  • For your users, it's usually most convenient if you set up hybrid federated search in the environment where most of them are working. That way, users don't have to go to the remote environment to search for content.

  • But for performance reasons, it's usually best to set up hybrid federated search in the environment where most of the content is stored. If most of the search results are from the local deployment, the overall query latency is likely to be less (all other things being equal) than if many results are from the remote deployment. Also, in general, when a user clicks a search result for local content, the response time to open that content will be faster than it would be to open content that is stored remotely. This is especially true for large files.

  • You can set up hybrid federated search in both SharePoint Server and SharePoint in Microsoft 365 if there about as many users working in both environments, or if there is about as much content in both environments, or if most users are working in one environment while most of the content is in the other environment.

Important

If you have some on-premises content that's highly sensitive and shouldn't be indexed outside your on-premises network due to regulatory or legal or geopolitical constraints, there are several approaches to achieve this such as using crawler exclusion rules or a separate Search service application for that content.

Because hybrid federated search is based on federating results from the two environments, you manage search separately in each environment, just as you'd do without hybrid federated search setup.

How does hybrid federated search work?

The key element of hybrid federated search is the result source. You need two results sources, one provides results from the local search index and one from the remote search index. For example, if you want to get search results from SharePoint in Microsoft 365 in a Search Center in SharePoint Server, you create a result source in SharePoint Server that specifies SharePoint in Microsoft 365 as the provider of remote search results. Learn about result sources and federation in Plan crawling and federation in SharePoint Server and in Understanding result sources for search in SharePoint Server. Configure hybrid federated search from SharePoint Server to SharePoint in Microsoft 365 - roadmap.

See also

Concepts

Plan hybrid federated search for SharePoint Server

Configure hybrid federated search from SharePoint Server to SharePoint in Microsoft 365 - roadmap

Configure hybrid federated search from SharePoint in Microsoft 365 to SharePoint Server - roadmap

Other Resources

Hybrid search in SharePoint in Microsoft 365