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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

403 forbidden error while trying to call power bi rest api

I am trying to access a power bi rest api 

I have also given all permissions in Azure Active Directory in Delegated and Application permission
when i am trying to access the above endpoint in my react application i get 403 error also i get same  result on  microsoft  graph explorer 
Vidisha_0-1643790300659.png

 

Vidisha_1-1643790708504.pngVidisha_2-1643790788447.png

 

Vidisha_3-1643790883863.png

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous,

According to the error message, it seems like permission-related issues.

I'd like to suggest you check the following rest API documents to confirm if you have correctly assigned the permission of these API usages to your account:

Reports - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
romankris
New Member

This error indicates that the server has determined that you are not allowed access to the thing you've requested, either on purpose or due to a misconfiguration . It's probably because the site owner has limited access to it and you don't have permission to view it. The vast majority of the time, there's not much you can do to fix things on your (*client) end. There are four common causes for 403 Forbidden error (server side) . Here they are listed from most likely to least likely:

 

  • An empty website directory
  • No index page
  • Incorrect settings in the .htaccess file
  • Permission / Ownership error

If authentication credentials were provided in the request, the server considers them insufficient to grant access. The client SHOULD NOT automatically repeat the request with the same credentials. The client MAY repeat the request with new or different credentials. However, a request might be forbidden for reasons unrelated to the credentials.

v-shex-msft
Community Support
Community Support

HI @Anonymous,

According to the error message, it seems like permission-related issues.

I'd like to suggest you check the following rest API documents to confirm if you have correctly assigned the permission of these API usages to your account:

Reports - REST API (Power BI Power BI REST APIs) | Microsoft Docs
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello Xiaoxin Sheng,

 

The same 403 error shows for me when I try to access a power bi rest API

 

 
Could you please help me with it?
 
Thanks,
Jackson
 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.