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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

HTML Content visualization and iframe of SharePoint site - refused to connect

Hello,

Using Power BI Desktop I've added the HTML Content visualization from the store.  I can use it to create an iframe within a report.  When I publish to a Workspace (Premium capacity) the iframe will work if the iframe source is a WordPress site url.  However when I try to add a SharePoint url for the iframe source, I get an error:  "domain.sharepoint.com refused to connect".    I tested to see if other sites would throw the error.  I tried using url for google and I got a similar refused connect error.

 

Is there a possible workaround?

 

Thank you!

 

 

 

2 REPLIES 2
Anonymous
Not applicable

I'm thinking there probably isn't a workaround. 

https://github.com/dm-p/powerbi-visuals-html-content 

Are there Still Limitations to What I Can Do with HTML in this Visual?

I think that a SharePoint site would fall under the CORS limitation...  

 

Anonymous
Not applicable

Hi @Anonymous 

I found a blog about how to enable CORS on SharePoint online site.

I hope it could help you.

 

Best Regards,

Rico Zhou

 

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

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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