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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
PBI-designer
Frequent Visitor

Images not loading due to CORS, depending if you visit via app.powerbi.com or www.powerbi.com

Images in reports published to the PowerBI service are no longer rendering if you visit via different URL prefixes; either app.powerbi.com or www.powerbi.com 

 

Based on web browser dev tools debugging, it apperas to be a CORS (Access-Control-Allow-Origin) issue where for some reason some graphics published in the PowerBI service are bound to a particular subdomain (either app or wwww). 

 

Turning off CORS via browser extension will render the graphics no matter the subdomain entry point. This proves it is a CORS issue.

 

Any help or guidance would be appreciated. This appears to be a new issue since we have not heard complaints on this from our users until recently.

3 REPLIES 3
PBI-designer
Frequent Visitor

@Anonymous this issue seems similiar to internal bug number CRI: 79681873 (community page link). Has that bug ever been fixed?

Anonymous
Not applicable

Hi  @PBI-designer ,

Visuals have their domain removed by the main window so that they are sandboxed. One of the effects of this is that if you're attending to load data from an external URL and this site does not allow requests from an empty domain, they are blocked by your browser.

Refer to:

https://www.html-content.com/reference/limitations#custom-visuals-high-level

 

This is the related document, you can view this content:

https://docs.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--suppo...

https://stackoverflow.com/questions/38754542/why-are-my-videos-and-images-not-showing-up

https://docs.mulesoft.com/gateway/policies-included-cors

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Liu,

 

I think you may have misunderstood the issue. Sorry if I did not explain it more clearly.

 

I am not intending to load data from an external URL, not using custom HTML or anything like that.

 

I am simply inserting an image into a report. Then publishing to the PowerBI service. The problem occurs when visiting my report either via the app.powerbi.com URL or www.powerbi.com URL, depending on which URL I use, I may get images to load or not. If I disable CORS, both URLS will work.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors