Skip to main content

Notifications

Community site session details

Community site session details

Session Id : I+4pBQ+dHLnFXdkH5cCsN5
Power Automate - General Discussion
Answered

Graph API Issues with HTTP connectors

Like (0) ShareShare
ReportReport
Posted on 18 Jul 2022 10:58:30 by 7

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

NikhilReddy529_0-1658141602396.png

Error screen:

NikhilReddy529_1-1658141891124.png

 

  • Verified answer
    VictorIvanidze Profile Picture
    12,212 on 19 Jul 2022 at 06:57:00
  • NikhilReddy529 Profile Picture
    7 on 19 Jul 2022 at 06:46:19
    Re: Graph API Issues with HTTP connectors

    Yes 

  • VictorIvanidze Profile Picture
    12,212 on 19 Jul 2022 at 06:42:20
    Re: Graph API Issues with HTTP connectors

    Hi @NikhilReddy529,

     

    are you using the same account to run your flow and to run the Graph Explorer?

  • NikhilReddy529 Profile Picture
    7 on 19 Jul 2022 at 05:01:22
    Re: Graph API Issues with HTTP connectors

    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

    NikhilReddy529_0-1658206836167.png

    What are the additional permissions and how should I get them? 

     

  • Expiscornovus Profile Picture
    31,641 Most Valuable Professional on 18 Jul 2022 at 15:10:02
    Re: Graph API Issues with HTTP connectors

    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?

     

    communcations_getpresencesbyuserid.png

  • VictorIvanidze Profile Picture
    12,212 on 18 Jul 2022 at 12:06:00
    Re: Graph API Issues with HTTP connectors

    It looks like you have insufficient rights.

    Run the Graph Explorer and experiment a bit.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started