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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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