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
matisilver88
Frequent Visitor

Power BI oAuth 403 - Forbidden

Hi, i wan`t to integrate my own platform showing Power BI dashboards. For that, first i created an app on my Azure account, giving the permissions to: 

- Azure Active Directory Graph: Users.Read, Users.Read.All (Type: Delegated)

- Power BI Service: Full access. (Type: Delegated)

Then, I authenticated using grant type authorization_code flow oAuth protocol. As a result, I obtained an Access Token.

So, the following step, should be making a request to Power BI Api for getting the dashboard, like this:

HTTP GET https://api.powerbi.com/v1.0/{tenantId}/dashboards/{dashboardId}

Header: Authorization Bearer <token>

But i get a 403 response code, forbidden. 

Also, I checked the scopes which the Access Token has, and it seems to has only the Azure Active Directory Graph permissions. I don`t understand why it doesn`t have the Power Bi Service scopes too.

 

Thanks

 

0 REPLIES 0

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.