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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
alisoroush7
Helper I
Helper I

Encountering SSL TLS error in web connection

Hi guys,

I'm trying to connect to a data source using web connection. My web url does not have https so i got the SSL/TLS error. How can I turn off the SSL/TLS check or is there any alternative method to pass this error?

alisoroush7_0-1736250726297.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,lbendlin ,rohit1991 ,thanks for your concern about this issue.

Your answer is excellent!
And I would like to share some additional solutions below.
Hello,@alisoroush7 .I am glad to help you.

I hope my suggestions below are helpful:
1. Modify Power BI Desktop: do not check for deregistration information
URL:
Certificate revocation check, Power BI Desktop - Power BI | Microsoft Learn
 

2. Try creating a new power query, using Web.Contents().

Open Power BI Desktop and click Get Data > Blank Query.
In the Query Editor, use the Web.Contents() function to connect to your API.
for example:

let
    Source = Web.Contents("http://your-api-url", [Headers=[Authorization="Bearer your-token"]])
in
    Source

Web.Contents - PowerQuery M | Microsoft Learn

About authentication methods:
Since you mentioned that you are connecting to another server's API, each API may have a different authentication method, and you will need to contact the corresponding operations staff to find out the specific authentication requirements and how to obtain the necessary token or other authentication information.

The Web.Contents() function supports HTTP connections so that SSL/TLS errors can be avoided.

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
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

6 REPLIES 6
Anonymous
Not applicable

Hi,@alisoroush7 .

Has your problem been solved?
If you have found suitable solutions, please share them as it will help more users with similar problems.
For example, relevant code or links to articles.
Or you can mark the valid suggestions provided by other users as solutions.
Thank you very much for your understanding and support of Power BI.

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi,lbendlin ,rohit1991 ,thanks for your concern about this issue.

Your answer is excellent!
And I would like to share some additional solutions below.
Hello,@alisoroush7 .I am glad to help you.

I hope my suggestions below are helpful:
1. Modify Power BI Desktop: do not check for deregistration information
URL:
Certificate revocation check, Power BI Desktop - Power BI | Microsoft Learn
 

2. Try creating a new power query, using Web.Contents().

Open Power BI Desktop and click Get Data > Blank Query.
In the Query Editor, use the Web.Contents() function to connect to your API.
for example:

let
    Source = Web.Contents("http://your-api-url", [Headers=[Authorization="Bearer your-token"]])
in
    Source

Web.Contents - PowerQuery M | Microsoft Learn

About authentication methods:
Since you mentioned that you are connecting to another server's API, each API may have a different authentication method, and you will need to contact the corresponding operations staff to find out the specific authentication requirements and how to obtain the necessary token or other authentication information.

The Web.Contents() function supports HTTP connections so that SSL/TLS errors can be avoided.

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Carson Jian,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

rohit1991
Super User
Super User

 

To bypass the SSL/TLS error in Power BI, try the following:

  • Disable SSL certificate validation by going to File > Options and Settings > Options > Security, and uncheck the relevant SSL options. Alternatively, if using a self-signed certificate, install it into the Trusted Root Certification Authorities store.

Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

I have unckecked all the relevant settings in option but it did not work. I am trying to retrieve data from an API from another local serever, what do you mean by installing the certificate?

lbendlin
Super User
Super User

That error usually appears for connections to databases. What type is your data source? An API?

Yes I am trying to retrieve data from an API which the source software is in another server in our local network.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.