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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
cwollett
Advocate II
Advocate II

What App permissions are needed for regular Power BI REST API?

I have an app registered in Azure with no Power BI permissions as some of the Admin APIs insinuate you need not have any added for it to work. I do have it added in the appropriate places within the Power BI tenant settings and have been successfully using the Admin APIs for a few years now to get activity/inventory information.

 

I want to extend my API usage to using non-Admin APIs, namely:

This leads me to a series of questions:

  • Required scope is Dataset.ReadWrite.All - do I grant that to the app I already have?
  • Will granting that scope break my ability to use the Admin APIs on this same SP?
  • The Gateways endpoints insinuate the user must be a gateway admin - I have tried authenticating with the app as myself, but have not been able to successfully do so on an account using MFA
    • If anyone has a python script snippet of the correct MSAL path to use to authenticate an app as a user with MFA, would that override the other issues since I'm an admin and should have permissions across the board?
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @cwollett ,

 

According to your statement, I think your issue is about grant permission to application.

As far as I know, you need to make sure that your account has permission to the feature you call like you need gateway admin permission to call "Get Gateways" REST API and your application needs to have permission that meet the required scope.

For reference:

Quickstart: Configure an app to access a web API - Microsoft identity platform | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @cwollett ,

 

According to your statement, I think your issue is about grant permission to application.

As far as I know, you need to make sure that your account has permission to the feature you call like you need gateway admin permission to call "Get Gateways" REST API and your application needs to have permission that meet the required scope.

For reference:

Quickstart: Configure an app to access a web API - Microsoft identity platform | Microsoft Learn

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors