Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Can we call Graph API using the the connector credentials instead of using ClientId/CleintSecret

(2) ShareShare
ReportReport
Posted on by 1,566 Super User 2024 Season 1
I want to call Graph API from a power automate flow, now i can use the Http connector:-
 
 
but i will need to create App Registration, then pass the ClientID/Secret. my question is , if there is a way to call this Graph API using the connector credential? Similar how the Graph explorer works?? where we login using a user account and call the graph api? without having to pass any additional secret/clientid
 
Thanks
 
 
  • Pstork1 Profile Picture
    67,067 Most Valuable Professional on at
    Can we call Graph API using the the connector credentials instead of using ClientId/CleintSecret
    The new Entra ID action works great in an automated or scheduled flow where the security context is the maker of the flow. If its a manually triggered flow then each user will need to have the graph permissions.  So in general I use the Entra ID action because its much easier to use.  For specific graph calls I will also use the standard connectors that include that call. For example, to do things with SharePoint I'll use the HTTP call in the SharePoint connector because it only requires a standard license. But those standard connectors only support specific resources and objects in Graph.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
     
  • johnjohnPter Profile Picture
    1,566 Super User 2024 Season 1 on at
    Can we call Graph API using the the connector credentials instead of using ClientId/CleintSecret
    Ok thanks for the reply.. HTTP with Microsoft Entra ID (preauthorized) action worked.. generally speaking which method will you use? Http Request with client id / client secret or HTTP with Microsoft Entra ID (preauthorized) action with login user? and why?Thanks
  • Verified answer
    Pstork1 Profile Picture
    67,067 Most Valuable Professional on at
    Can we call Graph API using the the connector credentials instead of using ClientId/CleintSecret
    You can use the HTTP with Microsoft Entra ID (preauthorized) action from the Entra ID connector to send the Graph request as a logged in user.  Fill the action out like the screenshot below and then Sign in to create the connection.  You'll then see the standard HTTP parameters.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Suggested answer
    Michael E. Gernaey Profile Picture
    44,904 Super User 2025 Season 1 on at
    Can we call Graph API using the the connector credentials instead of using ClientId/CleintSecret
     
    Please look here
     
     
    If this ansewrs your question, please mark as such and maybe a like.
     
    Come back if you have other questions.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

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

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow