Hi @Amir Sohail • Thank you for reaching out.
This cannot be done via graph API as of now. Currently, the parameters mentioned below are the only supported parameters in the body of setPresence call ( POST https://graph.microsoft.com/beta/users/object_id_of_user/presence/setPresence
). Also, this call is supported under the Application context only and not under the user context.
- sessionId
- availability
- activity
- expirationDuration
Read more: https://learn.microsoft.com/en-us/graph/api/presence-setpresence?view=graph-rest-1.0&tabs=http
I would suggest you post this idea at User Voice portal, which is monitored by the product group for feature enhancements.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.