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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.