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
Tanuja_PBI
Regular Visitor

Unable to Connect we encountered an error while trying to connect with Microsoft SQL

Hello Guys,

 

while i am trying to connect to SQL Server, it waserror.jpg

 

showing some error message. The content of the error message can be found below in bold..

Details: "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 certificate chain was issued by an authority that is not trusted.)"

 

For reference please check with the screenshot of the error message which was attached to this post or message..

 

Kindly put down the solution(s) in step by step manner as it would be helpful to me and the PBI community as well...

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Tanuja_PBI ,

 

According to your description, my suggestion is: in the latest version of powerbi desktop,In data source setting, you can try to remove the existing connection for SQL server and try one more time. You can also set the permission level while editing the data source.

vhenrykmstf_0-1627638080742.png

 

Or see if similar posts are helpful to you.

A connection was successfully established with the server, but then an error occurred during the log...

"The certificate chain was issued by an authority that is not trusted" when connecting DB in VM Role...


Best Regards,
Henry


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
v-henryk-mstf
Community Support
Community Support

Hi @Tanuja_PBI ,

 

According to your description, my suggestion is: in the latest version of powerbi desktop,In data source setting, you can try to remove the existing connection for SQL server and try one more time. You can also set the permission level while editing the data source.

vhenrykmstf_0-1627638080742.png

 

Or see if similar posts are helpful to you.

A connection was successfully established with the server, but then an error occurred during the log...

"The certificate chain was issued by an authority that is not trusted" when connecting DB in VM Role...


Best Regards,
Henry


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

amitchandak
Super User
Super User

@Tanuja_PBI , This bit old one. But have steps and video both, if this can help

https://powerbi.microsoft.com/en-us/blog/ssl-security-error-with-data-source/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.