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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
StantonD
Frequent Visitor

Unable to connect to localhost for Custom Visual Development CORS error

I followed the steps for setting up the development environment here

https://microsoft.github.io/PowerBI-visuals/docs/step-by-step-lab/setting-up-the-developer-environme...

 

I was able to get the software and cert installed and pbiviz starts fine from my visuals folder.

 

When I add the custom visual element it is not able to make a connection to localhost and gives me this error.

visualsError.JPG

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost:8080/assets/status. (Reason: CORS request did not succeed)

 

I reached out to my local IT and they told me the issue is on the Microsoft side. Has anyone run into this sort of issue before?

0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.