How often will the status of Teams be updated after using the Graph API to update the presence

Edward Zheng 61 Reputation points
2023-06-15T01:53:24.5966667+00:00

We are using /users/{userId}/presence/setPresence this api to update user's presence, but sometimes we find that the presence was not immediately updated in the Teams web client. The user needs to refresh the page to get the latest status.

After checking the document https://learn.microsoft.com/en-us/graph/api/presence-setpresence?view=graph-rest-1.0&tabs=http we find it says:

Note: When a user presence changes in Microsoft Graph, because the Teams client uses poll mode, it will take a few minutes to update the presence status.

we want to know how often will the Teams poll the presence.

Thanks.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,038 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,557 questions
{count} votes

Accepted answer
  1. Nivedipa-MSFT 3,326 Reputation points Microsoft Vendor
    2023-07-11T17:49:27.99+00:00

    @edward zheng
    We have received an update from the engineering team indicating that Teams polls the presence every 4 minutes.

    Thanks,

    Nivedipa


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.