Showing User Profile result in Microsoft Search by User Property Like Work Phone

Pushpanjay Umrao 161 Reputation points
2021-03-08T10:00:03.077+00:00

I have a requirement that when a user is being searched by his Phone number his profile should be shown in results in People vertical. The way its done when you search by users name.

Result when searched By User Name
75365-peoplebyname.png

Result when searched by Work Phone
75389-peoplebyphnum.png

I found a similar question in https://social.msdn.microsoft.com/Forums/office/en-US/224c144a-3347-4d40-8fba-19cbcae0cecd/user-profile-property-search?forum=sharepointsearchlegacy

In the answer they say to enable a property name FullTextQueraable. However I could not find such property. Does this enable property take care of the issue even for modern search. If yes can you please guide how can I enable the same.

Else is there any other way to make this work?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,248 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChelseaWu-MSFT 6,316 Reputation points
    2021-03-09T02:43:51.197+00:00

    Please note:

    1. Phone numbers (Work Phone included) in user profiles are automatically crawled with built-in (managed) properties CellPhone and WorkPhone, which can be found via SharePoint admin center > Search > Manage Search Schema.
      These properties are set “Queryable” by default and there is no need for extra configuration. 75587-screenshot-2021-03-09-093221.png
    2. The search results for phone numbers will only appear under the People vertical. Switch to People tab on search results page and see if you get the specific user returned. 75607-screenshot-2021-03-09-094650.png Referring to this document: Customize the search results page, a connection can be added as a content source only under one vertical, which means it is not supported to put People search results under the All vertical.
      1. If you cannot see the expected result under People tab, it is possible that the properties are not synced to SharePoint yet. You can see the document here for the user profile sync process in Microsoft 365.
        Note that it might take longer than 24 hours for the phone number properties to sync and return in search results.

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    **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. **