Forum Discussion
Kerem Yuceturk
Apr 12, 2019Microsoft
Configure modern search results to search all of your organization (rather than the current site)
Hey everyone,
We heard from many of you the need to be able to change the scope of your modern search results pages. When you create a new communication site or team site in SharePoint Online t...
- Apr 14, 2019
Hi Rick DeFoe, we are actually working on making that happen. We hope that will be coming in the next couple of months.
Renevdo
Apr 17, 2019Copper Contributor
Kerem Yuceturk It seems that searching trough the REST API, this setting is ignored.
This query for example, searches only in the current sitecollection on a modern communication site:
https://mytenant.sharepoint.com/sites/moderncommunicationsite/_api/search/query?querytext=%27test%27
See also this issue:
- Kerem YuceturkApr 17, 2019Microsoft
Hi Renevdo, This is for the modern search results UI only. It has no effect on REST. You should be able to get to the scope that you want in REST in other ways like as Geir-Magnus Pettersen mentioned!