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

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.

Reply
huwwuh
Frequent Visitor

Embedding tiles in to own site broken

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,

 

1 ACCEPTED SOLUTION
huwwuh
Frequent Visitor

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".

 

View solution in original post

3 REPLIES 3
v-ljerr-msft
Employee
Employee

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? Smiley Happy

 

issue1.PNG

 

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.

 

huwwuh
Frequent Visitor

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".

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors