Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
JohnFabric
Helper I
Helper I

Getting an access token for Microsoft Graph

Hello, I'm trying to connect PowerBI to https://graph.microsoft.com but can't seem to figure out how to. There are a couple of old solutions on this forum that say you need to create a custom data connector but all the solutions are marked are deprecated or 404 now. What is the current approved way to hook these services together?

1 ACCEPTED SOLUTION

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

 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

5 REPLIES 5
hnguy71
Super User
Super User

  1. Azure app registration with graph permissions
  2. From Power BI use web connector. Connect as anonymous
  3. pull graph api data 

 

Should still be the same process.



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

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)

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

 



Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Great thank you! I'll give that a try

Anonymous
Not applicable

Hi @JohnFabric ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.