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


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

2 Answers 2


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.


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



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 and acknowledge you have read our privacy policy.

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