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
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
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.