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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

CORS error when viewing Published PowerBI Report

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
Status: New
Comments
albertvanderwee
New Member
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?
fbcideas_migusr
New Member
Status changed to: New