1

Can we scope the search page of Modern SharePoint pages search results page?

enter image description here

When we do a search in the modern sharepoint pages, it goes to the below page which we will not be able to edit

https://sitename.sharepoint.com/_layouts/15/search.aspx/siteall?q=test

Is there a way to exclude lists/libraries of few sites from this search results page?

1

The best way to completely exclude a list or library from Search results is to change one of the options under Advanced settings in the list settings to exclude showing them in Search Results.

OR

You could write PowerShell that would walk through the entire farm and change this setting on each list/library.

Reference

1

Currently, there is no way to define a scope for modern search.

If you don't want items of some lists/libraries to show in search result, you can go to the List/Library settings->Advanced Settings, find Search section, and set it to No. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.