Does the people list endpoint get people from outside the directory?

Alex Rich 1 Reputation point
2022-09-12T19:19:10.36+00:00

The people API states that "People can be local contacts, contacts from social networking or your organization's directory, and people from recent communications (such as email and Skype)" However, when I access the endpoint, it only returns other users already in the directory. I want to be able to get information from people who have contacted me, but are not yet saved either in the directory, or as a contact. Is this possible?

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

1 answer

Sort by: Most helpful
  1. Bhanu Kiran 3,526 Reputation points
    2022-09-12T21:16:49.603+00:00

    Hi @Alex Rich ,

    As per my understanding on people endpoint, It is not possible to get information from people who have contacted you, but is not yet saved either in your directory, or contact list.

    As per this documentation there must be a public relationship between the person and the profile owner to include a person as relevant.

    Hope this helps.

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

    0 comments No comments