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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.