You can now use Microsoft Graph API calls to update user's presence in Microsoft Teams. Although it's been possible to retrieve presence (both using API calls and change notifications) for a while, this is a new addition to Graph functionality.
There's a blog post that accompanies this video at: https://blog.thoughtstuff.co.uk/2021/...
In the video I talk through how you set presence, what permissions you need and what information to pass.
I talk through what happens when multiple applications are all setting presence, and how that works alongside users also changing presence in the Microsoft Teams client.
Finally, I discuss possible reasons for allowing changing presence state to "In a Call" or "In a Conference Call"
You can also read the detailed documentation about the:
setPresence call: https://docs.microsoft.com/graph/api/...
clearPresence call: https://docs.microsoft.com/graph/api/...
Details of the ISO 8601 definition for Durations is here: https://en.wikipedia.org/wiki/ISO_860...
Subscribe to all my videos at: https://thoughtstuff.co.uk/video
Podcast: https://thoughtstuff.co.uk/itunes, https://thoughtstuff.co.uk/spotify or https://thoughtstuff.co.uk/podcast
Blog: https://blog.thoughtstuff.co.uk