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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors