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.
We are hoping to be able to write an application which requires no manual user input and which receives presence and so application permissions are required for this.
Would anyone be happy to share their workaround for how to have delegate permissions and log in programmatically with no manual user input ?
Patrik Stenberg commented
Application permissions needs to be implemented to avoid insane work-arounds to capture a user token. Thank you.
Having the Presence functionality (including notification on Presence change) is extremely important for our application and our customers.
Please let us know when this feature is added in.
Eric Richards commented
This is desperately needed for any kind of call-center application.
Currently having to use an insane work-around that requires a user logging into the portal page of a server application so that a user access token can be captured, which is all kinds of horrifying.
We have an application that we'd like to distribute task to engineers who are currently online, without the application permission for Presence, we are not able to do that
I see there is a lot of vote of this feature, do we have an ETA of this task?
Closed api interfaces have nothing lost in our current digital transformation journey. Businesses need open standard api's for a successful transformation and not these middle age monopolistic approach. Come on guys, open this api with more options like get and set presence.
Fabian Zünd commented
We want to syncronize the UserPresence between Microsoft Teams and our vpbx with a self written add-on. The problem is due to restrictions from the vpbx we can only use Application Permissions, and not User-Delegated permissions.
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 ?