Forum Discussion
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
- lbendlinSuper User
What happens when you use Graph Explorer? Did you consent to the required permissions?
Graph Explorer - Microsoft Graph
- rafael_inoueFrequent Visitor
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
- lbendlinSuper User