I'd like to query both my own presence and other users' presences in Teams. Ideally I would like to receive notifications when they change so I can change my internal state.
The graph API doesn't appear to have this functionality today.
You can create websites, services, and native platform applications that run outside the Microsoft Teams user experience, and call the Teams API to automate Teams scenarios.
To explicitly set it yourself, go to your profile at the top of Teams and select one from the list. You can also update your status from the command box. Type /available, /busy, /dnd, /brb, /away, or /offline to set your status as Available, Busy, Do not disturb, Be right back, Away, or Offline.
Just type @ before their name and then select them from the menu that appears. Note: You can also mention someone simply by typing their name.
Presence is part of a user's profile in Microsoft Teams (and throughout Microsoft 365 or Office 365). Presence indicates the user's current availability and status to other users. By default, anyone in your organization using Teams can see (in nearly real time) if other users are available online.
Unfortunately this is not yet available. We do have plans to add this to Microsoft Graph but we do not have an ETA.
The API for the presence is now in beta: Graph Api beta
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With