Presence not updating in time can be due to a number of factors, such as:
1.The Teams app is not updated to the latest version. You can check for updates by selecting your profile picture at the top of the app, and then selecting Check for updates.
- The Teams app uses a poll mode to update the presence status, which may take a few minutes. You can try to wait for three minutes after resuming activity on your desktop and see if the presence status changes to Available.
3.The Teams app has a presence session timeout and expiration mechanism that may affect the presence state. You can try to reset your status manually by clicking on your profile picture and selecting a different status from the list.
4.The Teams app has some limitations for users whose mailbox is hosted on-premises, such as a maximum presence delay of an hour. You can check if this applies to you by contacting your administrator.
Additionally, you can contact your administrator using the diagnostic tool in the Microsoft 365 admin center to verify possible issues affecting user status.
Finally, according to the documentation, the response code for this API is 200 OK if the request is successful. To get the response code and the time taken to complete the API request, you can use the Microsoft Graph SDKs for your preferred programming language. The SDKs provide a way to access the HttpResponseMessage object that contains the status code and other information about the response.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.