People.Read.All
Allows the app to read any user's scored list of relevant people, without a signed-in user. The list can include local contacts, contacts from social networking, your organization's directory, and people from recent communications (such as email and Skype).
Permission Details
Read all users' relevant people lists
Allows the app to read any user's scored list of relevant people, without a signed-in user. The list can include local contacts, contacts from social networking, your organization's directory, and people from recent communications (such as email and Skype).
b528084d-ad10-4598-8b93-929746b4d7d6
Read all users' relevant people lists
Allows the app to read a scored list of relevant people of the signed-in user or other users in the signed-in user's organization. The list can include local contacts, contacts from social networking, your organization's directory, and people from recent communications (such as email and Skype).
b89f9189-71a5-4e70-b041-9887f0bc7e4a
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
birthday |
StringNullable |
The person's birthday. |
companyName |
StringNullable |
The name of the person's company. |
department |
StringNullable |
The person's department. |
displayName |
StringNullable |
The person's display name. |
givenName |
StringNullable |
The person's given name. |
id |
String |
The person's unique identifier. Read-only. |
imAddress |
StringNullable |
The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only. |
isFavorite |
BooleanNullable |
True if the user has flagged this person as a favorite. |
jobTitle |
StringNullable |
The person's job title. |
officeLocation |
StringNullable |
The location of the person's office. |
personNotes |
StringNullable |
Free-form notes that the user has taken about this person. |
personType |
personType |
The type of person. |
phones |
phone collection |
The person's phone numbers. |
postalAddresses |
location collection |
The person's addresses. |
profession |
StringNullable |
The person's profession. |
Showing 15 of 20 properties.
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"birthday": "String",
"companyName": "String",
"department": "String",
"displayName": "String",
"scoredEmailAddresses": [
{
"@odata.type": "microsoft.graph.scoredEmailAddress"
}
],
"givenName": "String",
"id": "String (identifier)",
"imAddress": "String",
"isFavorite": "Boolean",
"jobTitle": "String",
"officeLocation": "String",
"personNotes": "String",
"personType": {
"@odata.type": "microsoft.graph.personType"
},
"phones": [
{
"@odata.type": "microsoft.graph.phone"
}
],
"postalAddresses": [
{
"@odata.type": "microsoft.graph.location"
}
],
"profession": "String",
"surname": "String",
"userPrincipalName": "String",
"websites": [
{
"@odata.type": "microsoft.graph.website"
}
],
"yomiCompany": "String"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
profilePhoto |
profilePhoto |
Profile photo for the person. |
phones |
phone collection |
The person's phone numbers. |
postalAddresses |
location collection |
The person's addresses. |
scoredEmailAddresses |
scoredEmailAddress collection |
The person's email addresses. |
websites |
website collection |
The person's websites. |
emailAddresses |
rankedEmailAddress collection |
The person's email addresses. |
sources |
personDataSource collection |
The sources the user data comes from, for example Directory or Outlook Contacts. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/me/people
|
GET
/users/{id | userPrincipalName}/people
|
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/me/people
|
GET
/users/{id | userPrincipalName}/people
|
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Me.People.GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let people = await client.api('/me/people')
.get();
Import-Module Microsoft.Graph.People
# A UPN can also be used as -UserId.
Get-MgUserPerson -UserId $userId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.me.people.get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for People.Read.All
Grant Admin Consent
Application permissions always require admin consent.