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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
rossnruthie
Resolver I
Resolver I

Authorization error when trying to Embed using sample for Non PBI Users

I am currently try to create a sample embedded report to show our team and I am getting an error.  

 

I am following the Embed a Dashboard tutorial as a guide.  Because our use case dictates having embedded reports for Non powerBI users I have registered an app in NATIVE mode using https://dev.powerbi.com/apps.  It has given me a client id which i then plugged into the PowerBIEmbedded_AppOwnsData project along with the GroupId and my UN/PW.

 

When I fire up the project and click on the "Embed Dashboard" button I get the following error:

 

"error":"invalid_grant","error_description":"AADSTS65001: The user or administrator has not consented to use the application with ID...

Send an interactive authorization request for this user and resource

 

What am I missing here?

 

Thanks.

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee

@rossnruthie

@pmathew2000

Please go to Azure portal, login with the User used when registering the app. Then find the registered Azure app.

Capture.PNG

 

Then edit required permisson, select all checkboxes for Power BI Services and click Save. At last, click Grant Permission and click yes.

Capture2.PNG

View solution in original post

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee

@rossnruthie

@pmathew2000

Please go to Azure portal, login with the User used when registering the app. Then find the registered Azure app.

Capture.PNG

 

Then edit required permisson, select all checkboxes for Power BI Services and click Save. At last, click Grant Permission and click yes.

Capture2.PNG

Thank you @Eric_Zhang this worked for me!

 

FYI, I had gone through all of these steps selecting and saving all of the delegated permissions.  I missed the last step though of clicking on the Grant permissions button.  It's a bit confusing since I checked the boxes and clicked save.  I would have thought this granted permisions but apparently it is not the case.

Capture.PNG

pmathew2000
Frequent Visitor

I am getting the same error

Helpful resources

Announcements
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.