Display Bookmarks results at hub site search

Dinesh Negi 86 Reputation points


I am trying to customize SharePoint modern search at Hub level, and trying to find the way to display Bookmark and Q&A results at hub site level search.

Can anyone provide help me on this if it possible.


A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,041 questions
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,326 Reputation points

    Hi @Dinesh Negi ,

    You could use following PnP PowerShell to set hub site search.

    Connect-PnPOnline -Url https://<<yourFullsiteurl>> -UseWebLogin  
    $web = Get-PnPWeb  
    $web.SearchScope = 2 # see below for possible SearchScope values  

    - 0 = default, let SharePoint decide

    • 1 = All sites in the organization
    • 2 = All sites in this Hub
    • 3 = Just this site

    And you could create Bookmarks in Microsoft 365 admin center > Settings > Search & intelligence > Answers > Bookmarks

    1. Add bookmarks
    2. Import SharePoint results
    3. Add default bookmarks and suggested bookmarks
    4. Import bookmarks
    5. Publish or review recommended bookmarks

    For Reference: Manage bookmarks

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

1 additional answer

Sort by: Most helpful
  1. Dinesh Negi 86 Reputation points

    I got the below answer from MS .

    Bookmark support for additional scopes is being worked on, but we don’t have a release date yet. Until that time, use Query Rules at hub and site levels.

    Thanks For your help.

    0 comments No comments