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, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors