Skip to main content
Microsoft Idea

Issues

Declined

Embedded reports in iframes don't load all resources

Vote (1) Share
's profile image

on 17 Nov 2016 02:23:43

When I embed a report in an iframe, some of the resources don't load because there is no "Access-control-allow-origin" header.

XMLHttpRequest cannot load https://wabi-west-us-api.analysis.windows.net/powerbi/metadata/models. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://app.powerbi.com' is therefore not allowed access. The response had HTTP status code 404.

Comments (2)
's profile image Profile Picture

Power BI User on 05 Jul 2020 22:34:39

RE: Embedded reports in iframes don't load all resources

When I'm on the report, I select File->Publish to Web. From there, I grab the iframe code. I put that iframe into my web page. The report loads and I can view it, but since some of the resources are not loading, it looks like not all the features are available, like drill-down, for example.

's profile image Profile Picture

sadf sdf on 05 Jul 2020 22:34:38

RE: Embedded reports in iframes don't load all resources

There are three ways of getting Power BI iframes for embedding...Can you describe which you are using?

As we are moving this forum down please post that information at: http://community.powerbi.com