Skip to main content

Notifications

Community site session details
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,357 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,357 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,732 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,357 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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - General Discussion

#1
stampcoin Profile Picture

stampcoin 23

#2
Pstork1 Profile Picture

Pstork1 20 Most Valuable Professional

#3
Gprior Profile Picture

Gprior 19

Overall leaderboard
Loading started
Loading started