Hello,
I would like to use the User Presence in a powerApp.
How can I get this status ( Available, Out of Office, Busy, Busy In a call ... ).
How can be notified of changes ?
Thanks.
Solved! Go to Solution.
This announcement about presence might be something to watch.
Microsoft Graph presence APIs are now available in public preview
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Really no one knows ? Or really not possible ?
Hi @Jean-Christophe thanks for posting in the community. Review the below link and let me know if you can customize it to answer your question:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/show-current-user
@Anonymous
Actually, the issue is that User() PowerApp function doesn't provide any PRESENCE information.
This announcement about presence might be something to watch.
Microsoft Graph presence APIs are now available in public preview
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
How is this called SOLVED ?
Until User().Presence is listed in the User function properties on the https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-user page, I don't think it will be possible. I would love to see this functionality.
The question is clear to me. The link posted should solve it. I am curious to understand why you believe this does not answer the question?
I simple words, you can call this rest API and pass any ID and get the presence status of the user (the current user or any user)
https://graph.microsoft.com/v1.0/communications/getPresencesByUserId
look into this link https://docs.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0&tabs=http
GET /me/presence
GET /users/{id}/presence
GET /communications/presences
https://docs.microsoft.com/en-us/graph/api/resources/presence?view=graph-rest-1.0
The return value is of "presence" type & should be one of those values
AvailableIdle, Away, BeRightBack, Busy, BusyIdle, DoNotDisturb, Offline, PresenceUnknown
This GET presence with Graph API.
The question was (also) about notification User Presence in a PowerApp.
User | Count |
---|---|
125 | |
87 | |
87 | |
75 | |
69 |
User | Count |
---|---|
216 | |
181 | |
140 | |
97 | |
83 |