💡 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:
- Add the “HTTP with Microsoft Entra ID (preauthorized)” action to your flow
🔸 Authentication type is already set to “Log in with Microsoft Entra ID”. - Base Resource URL:
🔸https://graph.microsoft.com - Microsoft Entra ID Resource URI:
🔸https://graph.microsoft.com - Choose your HTTP method and endpoint (e.g.
GET /v1.0/me) - 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