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.
Hello -
I'm trying to embed Paginated reports in an application for customers (App owns data).
I've Premium P1 Capacity. Report is deployed in new Power BI Premium Workspace.
I've created Azure AD Web App with ServicePrincipal.
I'm testing the embed API in Postman as below steps.
1. Get Azure AD Bearer Token - https://login.microsoftonline.com/<<tenantid>>/oauth2/token
2. Generate Token - https://api.powerbigov.us/v1.0/myorg/groups/<<workspaceid>>/reports/<<reportid>>/GenerateToken < --- I get below error message.
I made sure that I've correct Report ID and Workspace ID.
{
"error": {
"code": "PowerBIEntityNotFound",
"pbi.error": {
"code": "PowerBIEntityNotFound",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}
Am I missing anything here specifically for Paginated Reports?
Thank you
Solved! Go to Solution.
@ofer - Thank you for the response.
I found out that I was missing one step. Adding Azure AD App to Workspace with Admin Role. I fixed it and now it is working fine.
Are you following all the steps as listed with detaile dinstruction in here? :
https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers
Does the sample app work for you?
@ofer - Thank you for the response.
I found out that I was missing one step. Adding Azure AD App to Workspace with Admin Role. I fixed it and now it is working fine.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
2 | |
2 | |
1 | |
1 |