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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Rafael2
New Member

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 2
v-chenwuz-msft
Community Support
Community Support

Hi @Rafael2 ,

 

Maybe you can try to store the file in your service to call it.

 

Best Regards

Community Support Team _ chenwu zhu

 

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%20...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.