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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
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.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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