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
AidanW99
Frequent Visitor

SQL Refresh Error

Hello, I'm new here so apologise is this is in the wrong place

I get the following error when refreshing reports connected to a SQL Database: 

"Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The received certificate has expired.)"

 

The certificate has not expired and this error only appears on PowerBI Service, refreshing on the App works completely fine. Previously refreshing on Service has worked, it is only since last week that the error appears.

 

I have tried the following steps all of which havent produced a fix in the error

  • Updating the Gateway
  • Unticking the 'Encrypt connections' in Edit Permissions section of the SQL connection
  • Restarting the SQL server

Any help will be appreciated

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

The correct way is to renew the certificate on the SQL server and then restart the SQL Server service (no need to restart the entire machine)

 

The lazy way is to install the latest gateway and then disable the certificate check.

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

The correct way is to renew the certificate on the SQL server and then restart the SQL Server service (no need to restart the entire machine)

 

The lazy way is to install the latest gateway and then disable the certificate check.

The second way you mentioned sounds promosing. Can you list the ways (or send a link)  to accomplish disabling certificate check please 😊

Life saver. This worked a charm thank you so much ❤️

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.