The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.