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