cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
craig_gregory
Frequent Visitor

Get Users Presence

I have the presence in Graph API consented.  I run the Automate and get back me presence with no issues, but once change it to users presence with another it errors in the Send an Http Request to SharePoint method Get with 404 Not found.

I have followed the following:

https://docs.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0&tabs=http#code-try-9
https://powerusers.microsoft.com/t5/Building-Power-Apps/User-Presence-in-Teams-use-it-in-PowerApp/td...

 

@TomaszPoszytek any suggestions?

1 REPLY 1

Hi,

 

honestly speaking I have no idea why it shows you 404. I made tests, however in my case it's always returning 403. Even when trying to obtain my own presence. 

The correct way of calling and obtaining presence is by using the "Send an HTTP request" action from "Office 365 Groups" set: Office 365 Groups - Connectors | Microsoft Docs.

I tried the action mentioned above, the one you tried to use (from SharePoint group) as well as "Invoke an HTTP request" with Azure AD premium action. All of them are returning 403 which I believe is some kind of an error within cloud flows, because other calls to e.g. /v1.0/me endpoints work.

Will try to find out more and will let you know.

 

Regards,

Tomasz

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,089)