Graph API /people Relevance Score

Dheemanth Reddy Gangumalla 0 Reputation points
2024-05-23T07:15:34.4266667+00:00

I have a few questions on the /people graph end-point and Relevance Score.

  1. The time period which is taken for calculating the relevance score ?
  2. If I have sent the same number of emails for 2 users , but for user-1 I've sent emails recently and for user-2 the emails are sent somewhat earlier. Who will have more relevance score?
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,069 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 385 Reputation points Microsoft Vendor
    2024-05-23T17:50:36.18+00:00

    Hi Dheemanth Reddy Gangumalla,

    Thank you for reaching out!

    As per the document it is not mentioned how relevant people works.

    Relevance is determined by the user’s communication and collaboration patterns and business relationships. People can be local contacts, contacts from social networking or from an organization’s directory, and people from recent communications (such as email and Skype).

    To get the relevance score of 2 users as each person/user is assigned a relevance score. A higher relevance score corresponds to a more relevant result. The score reflects the person’s importance within the user’s network.

    To retrieve relevant people, you can use the following endpoint:

    GET https://graph.microsoft.com/v1.0/me/people

    GET https://graph.microsoft.com/v1.0/users/{id|userPrincipalName}/people

    Application requires the "People.Read.All" permission.

    In the response, you’ll find a collection of “scoredEmailAddresses” each containing an email address and its associated relevance score.

    Document reference: https://learn.microsoft.com/en-us/graph/api/user-list-people?view=graph-rest-1.0&tabs=http

    Hope this helps.

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

    0 comments No comments