Microsoft Search API in Microsoft Graph to search people (preview), not getting the expected or predicted results

AlanFlower-0028 1 Reputation point
2021-09-06T08:12:19.177+00:00

When using Microsoft Search API in Microsoft Graph to search people, not getting the expected or predicted results.

Searching on outlook for a name returns people I have been in contact with but the same search here does not return the same set of people I know and have had contact with, does return all people inside organization but not outside.

Additionally, insight related ones. In my search 1 was returned by insight which is not know directly to anyone in the organization, may have been on wider emails but not direct. While searching in outlook to establish this person to raised the rank above those I do know or are know to the organization.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,144 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Choudhary 601 Reputation points Microsoft Employee
    2021-09-07T12:12:10.87+00:00

    Thank you for reaching out.

    As per the documentation, For Search people, the requests allow you to search for people relevant to the signed-in user (/me) and other users in the signed-in user’s organization. These requests require the People.Read permission, with the exception of searching other users’ relevant people, which requires People.Read.All. By default, each response returns 10 records, but you can change this by using the $top parameter.

    Hope this clarifies the doubt. Do reach out if you notice any more discrepancy.

    Thanks.

    0 comments No comments