I need to get the presence of the employees in my tenant. So, I tried using the below two options, but both are resulting in forbidden issue
1. "HTTP with Azure AD" by giving both Base Resource URI and Azure AD URI as https://graph.microsoft.com
2. General HTTP connector by registering an application and granting access to it as below
Error screen:
Yes
All the API's run fine in Graph Explorer but not in power automate. When you talk about permissions, I already gave access as below
What are the additional permissions and how should I get them?
Hi @NikhilReddy529,
Like @VictorIvanidze already mentioned, it is probably because of a missing permission.
In addition to that it might be useful to know there is a different method for listing presence of employees in bulk as well, the cloudCommunications: getPresencesByUserId method. Maybe it is good to try this one as a workaround?
It looks like you have insufficient rights.
Run the Graph Explorer and experiment a bit.
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional