Forum Discussion
Modern Search - Scope outside current Site or Hub
- May 12, 2025
Hi, unfortunately, there is no “modern” out-of-the-box way to extend the standard search box beyond a site or hub. However, you can:
-Classic Search Center + Result Source: create a classic Search Center and define a Result Source with path: that includes hubs + extra sites.
-Custom SPFx Search Web Part: develop a web part that performs a REST/CSOM query with path: filter on the URLs you need.
Otherwise, you need an external solution (Graph connector, PnP or similar).
Hi, unfortunately, there is no “modern” out-of-the-box way to extend the standard search box beyond a site or hub. However, you can:
-Classic Search Center + Result Source: create a classic Search Center and define a Result Source with path: that includes hubs + extra sites.
-Custom SPFx Search Web Part: develop a web part that performs a REST/CSOM query with path: filter on the URLs you need.
Otherwise, you need an external solution (Graph connector, PnP or similar).
micheleariis Thanks - you provided the answer I was expecting but not hoping for 😉.
We really want to continue using the Modern unified search experience but may need to deviate to other solutions. I still see this as a major gap with Microsoft Search. We really don't want to go down the classic search path - we already have a few of these remaining that we are moving off.
Thanks for your response - appreciated.
- micheleariisMay 12, 2025MCT
Yes, unfortunately at the moment the only “modern” way is to use solutions like PnP Modern Search Web Parts. I also suggest you send feedback to Microsoft (Admin Center - Feedback) to ask for custom scopes. Hopefully they will integrate it soon 😁
- grant_jenkinsMay 12, 2025Iron Contributor
Unfortunately, I don't see Microsoft fixing or filling gaps in any of their features including adding search scopes. We've submitted 40-50 key issues, bad design decisions, bugs, etc. across most of their new features they've released over the last year+ and every channel we try just hits a dead end.