web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Calling Graph API to g...
Power Apps
Unanswered

Calling Graph API to get User Presence

(0) ShareShare
ReportReport
Posted on by 20

Good morning does anyone have experience using Graph API to get a users presence? I know I need the proper permissions using the client ID and tenant... I'm just not sure how to structure the call. Any help would be greatly appreciated.

 

Example Call:

userPresence: Office365Users.HttpRequest(
                $"https://graph.microsoft.com/v1.0/users/{Office365Users.UserProfile(users.Value).Id}/presence",
                "GET",
                ""
            )

 

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Hi,

     

    Just so you're aware and so you can prepare your solution so that it doesn't affect your app when they turn it off:

    The Office365Groups API call exploit was noted and fixed by Microsoft - this is why they deprecated the V1 action for 'Send an HTTP Request'.

    The V2 action now only allows calls to the /groups segment of the API, and the V1 action will be fully deprecated (and no longer be available) in the near future so it would be a good idea to plan ahead for this.


    You can see more here in the Connector reference for Office365Groups

    iAm_ManCat_0-1698394609273.png

     

     

    To call other graph API functions you must now use the 'Invoke an http request' action with Azure AD or the 'HTTP' action with 'Active Directory OAuth' set under advanced options.

     

    Cheers,

    Sancho

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard