Alex on 24 Oct 2016 17:06:58
Hi,
I posted this issue in the forums and it was suggested that this be logged here;
http://community.powerbi.com/t5/Developer/CORS-error-when-viewing-Published-PowerBI-Report/m-p/81461#M2886
We are planning to embed PowerBI in an Angular2 app and have started publishing reports using the "Publish to Web" function.
When we load just the published url in the browser (eg. https://app.powerbi.com/view?r=eyJrIjoiM2QwOGU3YmMtMjlkNC....) we receive CORS errors in the browser.
The errors displayed are purely from the PowerBI site with no extra embedding used.
"XMLHttpRequest cannot load https://wabi-south-east-asia-redirect.analysis.windows.net/powerbi/metadata/models. Request header field X-PowerBI-ResourceKey is not allowed by Access-Control-Allow-Headers in preflight response."
These also occur multiple times after the load and sometimes causes the report to crash and then reload.
Is this an issue with the report or configuration we are using, or is this a known issue?
Thanks in advance for your time,
Alex
- Comments (1)
RE: CORS error when viewing Published PowerBI Report
I'm having the same issue, I've added the domain in the CORS blade in azure but the logs are showing the origin is coming from app.powerbi.com. Have there been any updates on this?