π‘ 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