Forum Discussion
CORS error on embed Power BI
The error message:
Access to image at 'https://content.powerapps.com/resource/powerbiwfe/images/spinner-PBI-logo.6434e0fca135a582c323.svg' from origin 'https://app.powerbi.com' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space `private`.
I don't think this is an issue on my side, it's as if app.powerbi.com is not allowed to download an image from content.powerapps.com?
This worked a few weeks ago...
2 Replies
- v-chenwuz-msftCommunity Support
Hi Rafael2 ,
Maybe you can try to store the file in your service to call it.
Best Regards
Community Support Team _ chenwu zhu
- Rafael2New Member
Hi, I'm not the one that makes the reference to the file, it's the powerbi embedded plugin.
I merely use the Microsoft plugins: https://www.npmjs.com/package/powerbi-client
This sample is what I'm using, I didn't even need to modify much of it.
https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/.NET%20Core/Embed%20for%20your%20customers