πŸ’‘ Challenge

Calling Graph APIs in Power Automate traditionally meant registering an Azure AD app, setting up client secrets or certificates, and configuring complicated OAuth flows – slows you down and breaks sometimes.

βœ… Solution

Use the built-in β€œHTTP with Microsoft Entra ID (preauthorized)” action, sign in once, and point both the Base Resource URL and the Application ID URI to https://graph.microsoft.com.

πŸ”§ How It’s Done

Here’s how to do it:

  1. Add the β€œHTTP with Microsoft Entra ID (preauthorized)” action to your flow
    πŸ”Έ Authentication type is already set to β€œLog in with Microsoft Entra ID”.
  2. Base Resource URL:
    πŸ”Έ https://graph.microsoft.com
  3. Microsoft Entra ID Resource URI:
    πŸ”Έ https://graph.microsoft.com
  4. Choose your HTTP method and endpoint (e.g. GET /v1.0/me)
  5. Run the flow – the connector fetches and injects the token for you

πŸŽ‰ Result

You get JSON responses from Graph in seconds, no app registration, secrets, or manual token handling needed.

🌟 Key Advantages

πŸ”Έ Zero custom app setup in Azure AD
πŸ”Έ Automatic token acquisition and renewal
πŸ”Έ Easily extend to any Graph endpoint


πŸ› οΈ FAQ

1. What permissions does it use?
It leverages your own delegated permissions (e.g. User.Read).

2. Can I use POST or PATCH methods?
Yes – just pick the method and supply your body/headers as usual.

3. How do I fetch Teams data?
Change the endpoint to /v1.0/teams/{team-id}; the base URL stays the same.

Leave a comment