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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
ashmitp869
Responsive Resident
Responsive Resident

Unable to connect the Power BI desktop to MS SQL Server

Hi,

I am getting error when Connecting Power BI desktop to MS SQL Server.

It was working last Friday but stop working and giving error below 

ashmitp869_0-1739748824972.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ashmitp869 

 

Thanks for the reply from lbendlin .

 

If your problem has not been solved, you can refer to the following, hope it can help you.

 

I found a post with a similar issue to yours, and one of the solutions was to try deleting the existing connection for SQL Server in the latest version of powerbi desktop, in the Data Source Settings (File -> Options and Settings -> Data Source Settings), and then try again.

vxuxinyimsft_0-1740449849813.png

 

vxuxinyimsft_1-1740450148617.png

 

vxuxinyimsft_2-1740450470545.png

 

Solved: Unable to Connect we encountered an error while t... - Microsoft Fabric Community

 

Best Regards,
Yulia Xu

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @ashmitp869 

 

Thanks for the reply from lbendlin .

 

If your problem has not been solved, you can refer to the following, hope it can help you.

 

I found a post with a similar issue to yours, and one of the solutions was to try deleting the existing connection for SQL Server in the latest version of powerbi desktop, in the Data Source Settings (File -> Options and Settings -> Data Source Settings), and then try again.

vxuxinyimsft_0-1740449849813.png

 

vxuxinyimsft_1-1740450148617.png

 

vxuxinyimsft_2-1740450470545.png

 

Solved: Unable to Connect we encountered an error while t... - Microsoft Fabric Community

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

The certificate on the SQL server expired.  Have them restart the server.  They will kick and scream, but when they eventually relent and restart the server the certificate will auto renew.

 

It is possible now to trust servers even with expired certificates but you don't really want to go there.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.