For the "Get presence" API what are the valid combinations of availability and activity

Eli Man 0 Reputation points
2025-02-07T17:04:07.62+00:00

For this "Get presence" API https://learn.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0&tabs=http

it returns an object with availability and activity which could each have multiple values according to this page https://learn.microsoft.com/en-us/graph/api/resources/presence?view=graph-rest-1.0

Could I confirm what are the valid combinations of availability and activity that the API could produce? e.g. the combination of activity=Available & availability=Offline does not sound possible, so are you able to produce a list of the valid combinations that can be expected?

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

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 10,555 Reputation points Microsoft External Staff
    2025-02-10T06:28:20.3266667+00:00

    Hello Eli Man,

    Thank you for reaching out to Microsoft Support!

    You can refer to this document for the combination of availability and activity:

    https://learn.microsoft.com/en-us/microsoftteams/presence-admins

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.