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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rafael_inoue
Frequent Visitor

Microsoft Graph API as a data source - Forbidden Access

I'm trying to use Microsoft Graph API as a data source (USERS) on Power BI, but no matter what I do, I always receive this message: "Forbidden Access". I tried to use a Admin account, I have all delegated permissions in my user, I tried to use anonimous user with an Azure Application (with Client Secret), and nothing happens. 

 

I can use the GROUPS table without problems, but I can't to access All Users Profile and neither MY PROFILE...

 

Anyone can helps me with any example or something like that?

 

thanks a lot!

 

Rafael Inoue

3 REPLIES 3
lbendlin
Super User
Super User

lbendlin
Super User
Super User

What happens when you use Graph Explorer? Did you consent to the required permissions?

 

Graph Explorer - Microsoft Graph

 

lbendlin_0-1613344908781.png

 

Thank you for your comment.

Everything is normal when I use Graph Explorer, and I can call all results with this tool. 

I have all of required permissions. 

The problem is on Power Query. When I try to use Graph as a oData Feed, a message saying "Forbidden Access " to Users query for example is showed. 

I've tried other ways, including Azure applications, but unfortunately it doesn't work too. The same message is returned: "Forbidden Access ".

Maybe an example could help me.

Thanks a lot

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.