Hello Steve Clay
Thanks for reaching out!
The user presence states are of two categories: user configured, and app configured. User configured states are those in which the user chooses their status. whereas app configured states are based on user activity. As far as I know, currently Presence API only supports a limited set of presence states which doesn't include App configured presence state "Focusing". When a user sets their status to "Focusing" using MyAnalytics plugin in Teams, it is a custom status that is not recognized by the presence graph API. As a result, the API returns "DoNotDisturb" which is closest matches to "Focusing" status. Refer this.
Refer below links for better understanding:
- Presence States in Teams- https://learn.microsoft.com/en-us/microsoftteams/presence-admins
- Supported Presence Properties- https://learn.microsoft.com/en-us/graph/api/resources/presence?view=graph-rest-1.0#properties
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.