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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.