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,236 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,236 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,652 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,236 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
ankit_singhal Profile Picture

ankit_singhal 7 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 4 Super User 2025 Season 1

#3
David_MA Profile Picture

David_MA 2 Super User 2025 Season 1

Overall leaderboard