Forum Discussion
mangopop
10 years agoFrequent Visitor
power bi embed 'this content is not available'
I've tried to work through this example and many others but I'm getting no content availabe in the iframe. https://azure.microsoft.com/en-gb/documentation/articles/power-bi-embedded-iframe/ I...
- 10 years ago
(My posts keep getting auto-deleted, maybe I'm not allowed to link to stackoverflow? :/)
Ayway, here are the required claims:
Required Claims ver: 0.2.0 wcn: {WorkspaceCollectionName} wid: {WorkspaceId} rid: {ReportId} aud: https://analysis.windows.net/powerbi/api nbp: Token valid not before in Unix EPOCH time exp: Token expiration in Unix EPOCH time
mangopop
10 years agoFrequent Visitor
Here's an exampleof the JWT
`{
"wid": "c13d0a99-****-****-9d76-2a644847ddde",
"rid": "d3d8c45f-****-****-bb4f-0affe770daba",
"iss": "PowerBISDK",
"ver": "0.2.0",
"aud": "https://analysis.windows.net/powerbi/api",
"wcn": "myWCN",
"type":"embed"
}`
That's all I should need to create the access token right?
ekeijl
Helper I
10 years agoSee here for the required claims: https://www.npmjs.com/package/powerbi-api
I recommend you use one of the Power BI SDKs to generate the JWT though.