Forum Discussion
Could I get the Teams user's status messages by API?
Could Microsoft Graph API or other alternative way to get the Teams user's status messages and Online status, or activity log about those?
the message users usually set "Out of office...."
- Rolf-42Iron Contributor
Hello Eric_Chen
Yes you can. The API is still in beta but already very promising.
https://docs.microsoft.com/en-us/graph/api/resources/presence?view=graph-rest-beta
I tested it myself and it worked for me.I hope that helps.
Cheers
Rolf
#MCT #LearnWithRolf #TheCloud42- Phil_Williams_NZCopper Contributor
I too would like to be able to get the 'Status Message' from a Teams User. I cannot see this anywhere in the documentation. Is it something that will be implemented in the future?
- unionpMicrosoftAnyone figure out how to do this yet?
- Victor_IvanidzeBronze ContributorIt seems that's just impossible.
- devryanBrass ContributorThere is a feedback item requesting CRUD access to the users Teams status message. You can upvote it here. https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/include-teams-status-in-graph-presence-api/idi-p/2718878
- devryanBrass Contributor
Status message is now available via the graph beta presence endpoint!! https://learn.microsoft.com/en-us/graph/api/presence-setstatusmessage?view=graph-rest-beta&tabs=http#get-another-user-presence-response
- regentovCopper Contributorbut no.
OP wants to get status message. Your link is about setting status message.