Is there any way to create user presence notification with Presence.Read permission?

George Voloshin 40 Reputation points
2023-04-03T06:42:26.6666667+00:00

Hi

I research Microsoft Graph API Notifications. I need to use user presence status change notification.
I found some documentation https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http. I see that It is need Presence.Read.All permission to create user presence status change notification even If it is need only for this user.
It is very strange for user. We need to observe only his presence status but he must give permission to read statuses of all users in his organization.
Is there any way to create user presence status notification with only Presence.Read permission?

Thanks.

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

Accepted answer
  1. Anonymous
    2023-04-03T10:08:40.3733333+00:00

    Hi @George Voloshin,

    Thanks for reaching out!

    As per the documentation, there is no possibility of creating change notifications for Presence of the user using delegated permissions.

    Note: It does not support application permissions.

    To get the presence of the logged in user, the least permission is "Presence. Read", but to receive notifications on users' availability and presence, one must grant "Presence.Read.All" permission for creating subscriptions for presence resource type.

    Hope this helps.

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

    0 comments No comments

0 additional answers

Sort by: Most helpful