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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Issue with reports embedding

https://github.com/Microsoft/PowerBI-Developer-Samples

Using the "app owns data" sample from above...

Created AzureAD application selecting server-side web app... 

Filled out the web.config variables for ServicePrincipal authentication type... including

applicationId, workspaceId, reportId, applicationSecret, and tenant

applicationId is the client id of the AzureAD application created above...

workspaceid and reportid got from a sample report published, from the report url

applicationSecret from the AzureAd application creation process

tenantId got from the overview page of the AzureAD application created above...

 

When run the sample app and choose Embed Report get "

Status: Unauthorized (401) 

Tried creating a Native AzureAD application instead of the server-side web app option for the AzureAD application and manually creating app secret...  still same result...

 

Newbie to power bi.

 

 

Thnks.

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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