At this point, you can "Get' the user presence using Microsoft Graph API. Here's the documentation.
How to set presence status from MS Graph API
In my application, I am using OAuth2.0 sign-in methods on top of that I am getting UserAccessToken. But for another user, my status still showing Offline Is there any method to set a presence via MS Teams Graph API??
e.g POST Me/Presence request In the body we can send UserId and status.
Note: My application website connects to MS Teams Graph via UserAccessToke (OAuth2.0 Sign In)- I am able to do most of the activities but on teams.microsoft.com website still showing my status is offline. Is there any way to make my status to online so other logged in people also came to know that I am online.
Microsoft Security | Microsoft Graph
2 answers
Sort by: Most helpful
-
Deva-MSFT 2,271 Reputation points Microsoft Employee Moderator2020-11-30T12:24:49.673+00:00 -
Deva-MSFT 2,271 Reputation points Microsoft Employee Moderator2020-11-30T16:12:34.69+00:00 As i updated above, at this point only the API supports GET only. If you wish this to be implemented then consider filing an Microsoft Uservoice. Being said that i remember a related uservoice filed already for this; you can consider upvoting it.