cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jean-Christophe
Advocate II
Advocate II

User Presence in Teams, use it in PowerApp

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.

1 ACCEPTED SOLUTION

Accepted Solutions

@Jean-Christophe 

This announcement about presence might be something to watch.

 

Microsoft Graph presence APIs are now available in public preview

https://developer.microsoft.com/en-us/graph/blogs/microsoft-graph-presence-apis-are-now-available-in...

 

---
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."

View solution in original post

15 REPLIES 15
Jean-Christophe
Advocate II
Advocate II

Smiley Frustrated

 

Really no one knows ? Or really not possible ?

Anonymous
Not applicable

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 

He is asking for user presence in Teams, try to understand the question before answering anything.

Actually, the issue is that User() PowerApp function doesn't provide any PRESENCE information.

@Jean-Christophe 

This announcement about presence might be something to watch.

 

Microsoft Graph presence APIs are now available in public preview

https://developer.microsoft.com/en-us/graph/blogs/microsoft-graph-presence-apis-are-now-available-in...

 

---
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."

joeinmay
Resolver II
Resolver II

How is this called SOLVED ?

 

Anonymous
Not applicable

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. 

jamilhaddadin12
Regular Visitor

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

AvailableIdleAwayBeRightBackBusyBusyIdleDoNotDisturbOfflinePresenceUnknown

Jean-Christophe
Advocate II
Advocate II

This GET presence with Graph API.

The question was (also) about notification User Presence in a PowerApp.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,581)