Application permission for Presence
From https://docs.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-beta, only Delegated (work or school account) is supported. Supporting application permission for presence calls is really helpful for enterprise usage.
Another use case. We are working on a Teams bot application where customers can leave messages for employees which is forwarded to a bot. We are looking to send the message to an alternate user if the desired user is offline or inactive. It would be essential to be able to use an application login to access a users presence.
Ryan Buening commented
I received an email notification for this topic with the comment below on 3/19, but I don't see it anymore. Is this still planned for 2020?
This functionality is currently in our backlog and will release sometime in 2020.
I'll post more updates in the future.
John Rijnbout commented
We are the developers of an Attendant Console application suite and one of our features is augmenting contact directory information with presence information from a variety of sources and present that to the logged on attendants. Currently we are prototyping a presence connector for MSTeams. Presence is being collected and aggregated by a server based service process and as such the client credentials grant flow seemed to be the obvious choice to authenticate the service on MSGraph. However this requires the presence.read and presence.read.all permissions to be available as app permissions, which they are not. Currently we have a working work-around by logging on an user by username/password so we can rely on the delegated permissions, but that's not an ideal situation in terms of security - rather I would like to see the needed permissions implemented as app permissions as well.
TYI, Kind regards.
I can see API is released but only for Delegated permission. Whereas Application Permission will be more useful for server based application. Can anyone has idea of timeline for the Application Permission.
Thanks & Regards,
I’m currently building a web chat solution using SignalR for our customers (who do not have Teams). Our internal employees are all using Teams and I want to display their status to our external customers who want to chat with our employees. The ability to set this permission would be great.
Pierre Colin commented
We are developing Automated Workflows that are tasked to get support from teams 24x7. The workflow has a list of team members and needs to check who is online to contact them and request them to join an outage bridge. It is necessary for presence to be accessible using Application Permission. Please help!
Ideas work better with a use case, so here is mine. We want to display the presence information on a dashboard on the wall. There isn't any user interaction, it would be a shame if we would need to login on the dashboard every x hours to keep it running. And making a page where we take an access token from a single user and use that in the dashboard seems wrong.
Hi guys with the beta release out, by when can we expect the permission to be sorted for Applications to do this call?
i have the same issue about this, any update ?