Presence.Read
Allows the app to read presence information on behalf of the signed-in user. Presence information includes activity, availability, status note, calendar out-of-office message, timezone and location.
Permission Details
Read user's presence information
Allows the app to read presence information on behalf of the signed-in user. Presence information includes activity, availability, status note, calendar out-of-office message, timezone and location.
76bc735e-aecd-4a1d-8b4c-2b915deabb79
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
activity |
StringNullable |
The supplemental information to a user's availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown. |
availability |
StringNullable |
The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown. |
id |
String |
The unique identifier for the user. |
outOfOfficeSettings |
outOfOfficeSettings |
The out of office settings for a user. |
sequenceNumber |
StringRead-onlyNullable |
The lexicographically sortable String stamp that represents the version of a presence object. |
statusMessage |
presenceStatusMessage |
The presence status message of a user. |
workLocation |
userWorkLocation |
Represents the user’s aggregated work location state. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"activity": "String",
"availability": "String",
"id": "String (identifier)",
"outOfOfficeSettings": {
"@odata.type": "#microsoft.graph.outOfOfficeSettings"
},
"sequenceNumber": "String",
"statusMessage": {
"@odata.type": "#microsoft.graph.presenceStatusMessage"
},
"workLocation": {
"@odata.type": "microsoft.graph.userWorkLocation"
}
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
statusMessage |
presenceStatusMessage |
Presence status message of a user. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/communications/presences/{id}
|
GET
/me/presence
|
GET
/users/{id}/presence
|
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
GET
/communications/presences/{id}
|
GET
/me/presence
|
GET
/users/{id}/presence
|
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.Presence.GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let presence = await client.api('/me/presence')
.get();
Import-Module Microsoft.Graph.CloudCommunications
# A UPN can also be used as -UserId.
Get-MgUserPresence -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.presence.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 Delegated permissions and search for Presence.Read
Grant Admin Consent
Users can consent to this permission during sign-in.