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

14 REPLIES 14
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 Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,925)