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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
nirnaybansal
New Member

Unable to connect to localhost https webapi on dev box

Hi,

 

I have webapi under development and hosted using IIS Express (triggered from Visual Studio F5 command) over https. Following is the one of the url:

https://localhost:446/api/v1/summary

 

I can hit this url from Chrome, Edge and Postman too. But when I am trying to "Get Data" in Power BI Desktop, using Get Data -> Other -> Web -> and giving this url. It is returning me following error:

Details: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

 

On Chrome or on Edge we have option to go advance by clicking detail and click on following link to bypass the cert error:

This site is not secure -> Detail -> "Go on to the webpage (Not recommended)"

 

How could we bypass the same from Power BI for local development purposes.

 

2 REPLIES 2
v-haibl-msft
Microsoft Employee
Microsoft Employee

@nirnaybansal

 

Please try following steps to see if it helps.

 

  1. In Internet Explorer, click Tools, and then click Internet Options.
  2. Click the Content tab, and then click Clear SSL state.

 

Best Regards,
Herbert

I am having this issue as well.  I have tried to clear the SSL state and have had no luck resolving the issue.  Anything else that can be tried, to ignore the cert validation on internal, trusted servers?

 

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.

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.

Top Solution Authors
Top Kudoed Authors