Forum Discussion
Getting an access token for Microsoft Graph
- 1 year ago
Hi JohnFabric
These two articles should work. From the first link, follow the steps to creating an app registration. From the second link, all of it should be relevant for you.
1. Creating an app registration: https://sharepains.com/2023/01/03/microsoft-graph-api-the-power-platform
2. Querying and refreshing graph api from Power BI: https://www.linkedin.com/pulse/story-powerbi-microsoft-graph-api-service-side-refresh-journaux
- Azure app registration with graph permissions
- From Power BI use web connector. Connect as anonymous
- pull graph api data
Should still be the same process.
- JohnFabric1 year agoHelper I
Is there a how to to do that? I've not done that before. I do see that direct query isn't recommend (https://learn.microsoft.com/en-us/power-query/connecting-to-graph) but I'm not sure I need the entire overhead of (https://learn.microsoft.com/en-us/graph/overview#access-microsoft-graph-data-at-scale)
- hnguy711 year agoSuper User
Hi JohnFabric
These two articles should work. From the first link, follow the steps to creating an app registration. From the second link, all of it should be relevant for you.
1. Creating an app registration: https://sharepains.com/2023/01/03/microsoft-graph-api-the-power-platform
2. Querying and refreshing graph api from Power BI: https://www.linkedin.com/pulse/story-powerbi-microsoft-graph-api-service-side-refresh-journaux
- JohnFabric1 year agoHelper I
Great thank you! I'll give that a try