Customize People search vertical Microsoft Search Office 365

Catalin Pasu 0 Reputation points
2024-09-11T07:27:34.7533333+00:00

We would like to customize the people vertical result to exclude service accounts from the list and if possible to include filters

https://admin.microsoft.com/Adminportal/Home#/MicrosoftSearch/verticals

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,674 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,891 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 26,016 Reputation points Microsoft Vendor
    2024-09-12T10:24:17.8933333+00:00

    Hi @Catalin Pasu ,

    Welcome to Q&A forum!

    To exclude service accounts from the People search vertical in Microsoft Search Office 365, you can create a custom filter using a refinable managed property. Refinable managed properties are used to configure filters in the vertical administration wizard. Once you have created the filter, you can add it to the People search vertical.

    To create a custom filter to exclude service accounts:

    1. Go to the SharePoint admin center.
    2. In the left navigation, select search.
    3. Under "Search schema," select "Manage search schema."
    4. In the "Managed Properties" section, select "New Managed Property."
    5. Name the new managed property "ExcludeServiceAccounts" and set the type to "Yes/No."
    6. Select "Add a mapping" and map the managed property to the "Department" crawled property.
    7. Select "OK" to save the new managed property.
    8. Wait for the managed property to be crawled and become available for use.

    To add the custom filter to the People search vertical:

    1. In Microsoft 365 admin center, go to Verticals
    2. Select People vertical where you want to create a filter and click Edit.
    3. Navigate to the Filters step in the vertical's wizard.
    4. Click Add a Filter to configure filters on refinable managed properties.
    5. Select "Use a refiner from the search schema."
    6. Select the "ExcludeServiceAccounts" managed property and set the display name to "Exclude Service Accounts."
    7. After adding filters, you can review and save the vertical.

    For your reference:

    https://learn.microsoft.com/en-us/microsoftsearch/custom-filters#manage-filters

    https://learn.microsoft.com/en-us/microsoftsearch/manage-verticals#manage-search-verticals

    Good day!


    If the answer is helpful, please click "Accept as 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.


  2. Yanli Jiang - MSFT 26,016 Reputation points Microsoft Vendor
    2024-09-25T09:01:12.8433333+00:00

    Hi @Catalin Pasu ,

    Sorry for the late reply, I did some research. Unfortunately, due to backend reasons, the people vertical only allows renaming, no other edits. In other words, this request cannot be met at this time.

    To address your concern about the situation, we’d suggest you go to feedback on this issue, this is the best platform to let us hear from you and make our products and services better for you and others. Microsoft values its customer feedback and a lot of features have been developed and suggested by customers via feedback.

    Good day!


    If the answer is helpful, please click "Accept as 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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.