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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
rlansing
Resolver I
Resolver I

ERROR: Authorization_RequestDenied - Insufficient privileges to complete the operation (Native App)

Hello,

I know this has been discussed before:

https://community.powerbi.com/t5/Developer/ERROR-Authorization-RequestDenied-Insufficient-privileges...

But the marked answer does not solve my problem. I am trying to follow this guide to create a native app API access client id to create a PowerShell script that can refresh my reports after an event.

I created a new account, gave that account Power BI Administrator role in Office 365 and Admin rights over a few group workspaces. What else can I do to ensure that this user has the correct admin rights to register an app on this site?: https://dev.powerbi.com/apps

 

Thanks in advance!

Bobby

3 REPLIES 3
SuperTommy
New Member

I ran into the same problem. I changed this Users can register applications settings in AzureAD to Yes.

 

Azure AD Setting

Eric_Zhang
Microsoft Employee
Microsoft Employee


@rlansing wrote:

Hello,

I know this has been discussed before:

https://community.powerbi.com/t5/Developer/ERROR-Authorization-RequestDenied-Insufficient-privileges...

But the marked answer does not solve my problem. I am trying to follow this guide to create a native app API access client id to create a PowerShell script that can refresh my reports after an event.

I created a new account, gave that account Power BI Administrator role in Office 365 and Admin rights over a few group workspaces. What else can I do to ensure that this user has the correct admin rights to register an app on this site?: https://dev.powerbi.com/apps

 

Thanks in advance!

Bobby


@rlansing

Please check if sufficient permissions are granted to the registered app. See Apply permissions to your application within Azure AD.  By the way, the refresh API is sharing the 8 times (48 times for Premium license) refreshing limitation a day.

Capture.PNG

 

 

 

I only see a 5 in the highlighted area. I can add permissions to that screen. but the error is happening when trying to register the app via the website. My account has Multi-Factor Auth enabled, so I cannot use it for the PowerShell to refresh datasets, so I created a Power BI Admin account to run this process, but it is receiving the error listed above when trying to register the app. My question is: what permissions does the user need to have to register the app?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.