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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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