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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
VS_CHP
Regular Visitor

Images are getting blocked due to Content-Security-Policy when using the PBI certified visuals

Hi,

 

I have started getting the "Refused to load image" error as shown below from probably 01/06/2024, however it was working perfectly earlier. The issue is with Power BI restricting the content from external resources even while using the PBI certified third party visuals (e.g. HTML Content (lite), Image by CloudScope etc.). I couldn't find any settings in the Power BI Admin Centre to configure the "Image-src", "Style-src" etc. parameters for the CSP.

 

Eventhough the images I am using are from our own Azure Blob Storage and are public, we are still getting the error. I am not sure if at all there is an option to configure the "CSP" policy to allow/whitelist certain domains which are internal to us and let Power BI know to not apply the CORS or any X-XSS restriction.

 

Any help regarding this is greatly appreciated. Thank you!!

 

Power BI - Images error.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @VS_CHP 

 

Direct configuration of CSP within Power BI itself, specifically for adjusting directives like img-src or style-src is not available. Power BI's handling of CSP is primarily managed internally to ensure the platform's security.

 

 

 

 

Best Regards,

Jayleny

 

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @VS_CHP 

 

Direct configuration of CSP within Power BI itself, specifically for adjusting directives like img-src or style-src is not available. Power BI's handling of CSP is primarily managed internally to ensure the platform's security.

 

 

 

 

Best Regards,

Jayleny

 

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

foodd
Community Champion
Community Champion

@Anonymous , thank you for clearly and simply addressing a topic that is not often discussed.

Thank you! @Anonymous

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.