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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Dashboards in power BI embedded suddenly stopped working

We are developing an app using Power BI embedded, and have been actively working with PBI embedded for the past 4 months, using the Java script API to embed dashboards and reports with no problems at all. However, 5 days back all our dashboards stopped working, but the reports are still working perfectly. No code or permissions have changed on our side.  We send the below config object;

 

{
   "type":"dashboard",
   "tokenType":0,
   "permissions":7,
   "accessToken":<<AAD Token>>,
   "embedUrl":<<Embed URL returned when Get Dashboard API is called>>,
   "pageView":"fitToWidth",
   "id":<<Dashboard ID>>
}

 

But when this is called, the iFrame keeps "loading", without the rendered or error events being called. When inspecting the console we can see a couple 401 errors popping out form the following file. But the user DOES HAVE permission, and the dshboards do exist.

<script src="https://cdn.jsdelivr.net/npm/powerbi-client@2.4.7/dist/powerbi.min.js"></script>

This was working fine 5/6 days back, and we've been trying to identify the root cause, to no avail! Also, the above code works fine for displaying reports, so there shouldnt be any permission issues. I've tried recreating brand new dashboards too, same issue. This is applying to all dashboards.
Again, reports are fine. Anybody seen this issue before please?

Status: New
Comments
v-yuta-msft
Community Support

@Anonymous ,

 

I would suggest you create a support ticket here.

 

Regards,

Jimmy Tao

DaniloM
Regular Visitor

Our app has if, pre worked until yesterday
Today suddenly and without any modification it stopped working
ASP.NET application published on Azure with Power BI Embedded