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.
We have a web dashboard that has been built by embedding tiles using Microsoft.PowerBI.Api. It was working up until 30th of last month when it stopped working with this call reporting "Internal Server Error".
var tokenResponse = await client.Tiles.GenerateTokenInGroupAsync(GroupId, dashboard.Id, matchingTile.Id, generateTokenRequestParameters);
The code we are using was taken from GIT hub PowerBI-Developer-Samples (https://github.com/Microsoft/PowerBI-Developer-Samples). - Using AppOwnsData.
Subsequently we have tried exactly the code in this sample and it fails too.
We have created a new PowerBI account, created a dashboard and tiles from scratch and the code still fails in exactly the same place.
Could anyone confirm if they are successfully embedding tiles in an AppOwnsData context?
We can embed reports without a problem. Just not tiles.
Microsoft are looking at the issue under a ticket we raised but have not come back with a solution or any feedback.
Any help much appreciated.
Thanks,
Solved! Go to Solution.
We heard back from Microsoft.
“The failed tile is part of content pack, embedding tiles/dashboard based on content pack datasets (or tiles/dashboards which are part of content pack) is not supported, this behavior is expected” so it’s by design in PowerBI.
Embedding tiles/dashboards from content pack is not supported.
"
This seems to explain the issue and publishing directly to our Workspace rather than importing through a contentpack fixed the problem.
What is strange is that embedding tiles from the Contentpack used to work until around the 27th of November.
Also beware - the error from the API when trying to embed tiles from a contentpack is simply "InternalServerError".
Hi @huwwuh,
Previously, there was a known issue that users may not be able to render tiles or use tiles to open reports when using applications that embed tiles, dashboard and report embedding in applications work as expected. And this issue should be fixed now. Could you go to check if it works for you now?
Regards
This is what we thoughth the issue was as it coincided with this report. However - we are still unable to embed tiles. Report embed but not tiles.
Any help would be much appreciated.
We heard back from Microsoft.
“The failed tile is part of content pack, embedding tiles/dashboard based on content pack datasets (or tiles/dashboards which are part of content pack) is not supported, this behavior is expected” so it’s by design in PowerBI.
Embedding tiles/dashboards from content pack is not supported.
"
This seems to explain the issue and publishing directly to our Workspace rather than importing through a contentpack fixed the problem.
What is strange is that embedding tiles from the Contentpack used to work until around the 27th of November.
Also beware - the error from the API when trying to embed tiles from a contentpack is simply "InternalServerError".
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 |