Forum Discussion
Power BI Error from new SQL Server - certificate chain was issued by an authority the is not trusted
- 11 months ago
Hi MarkSanchez,
So i digged the web for your issue and find some amazing stuff so could you please review these solutions & documents:
1-This is your issue (SSL Certificate Chain Not Trusted)
2-This also another solution For your Issue (certificate chain not trusted)
3-Import data from a database using native database query
4-SqlConnection.ConnectionString Property
5-Sql.Database
These Resources will explain better than me I hope this is helpful ☺️❤️
I recommend you the First and Second Solution 😅❤️if this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.
Hi MarkSanchez,
idk about your Power Bi version but you can Use Power query editor instead of this option (Guaranteed to Work):
First, connect normally (you'll get the error)
Click Transform Data to open Power Query Editor
In the Applied Steps pane, click on Source
In the Formula Bar above, you'll see something like:
= Sql.Database("your-server", "your-database")- Modify it to add the parameter:
= Sql.Database("your-server", "your-database", [TrustServerCertificate=true])- Press Enter and click Close & Apply
Note : If this method didn't work try the below method (Advanced Editor)
- In Power Query Editor, go to Home → Advanced Editor
- Find the line with Sql.Database
- Modify it to:
Source = Sql.Database("your-server", "your-database", [TrustServerCertificate=true])
This Method should Work (Method 2) regardless of your Power BI version
Okay you've opened my eyes but I can't seem to be able to get that statement to work - I get a variety of syntaxt errors. For example:
- Ahmed-Elfeel11 months ago
Super User
Hi MarkSanchez,
So i digged the web for your issue and find some amazing stuff so could you please review these solutions & documents:
1-This is your issue (SSL Certificate Chain Not Trusted)
2-This also another solution For your Issue (certificate chain not trusted)
3-Import data from a database using native database query
4-SqlConnection.ConnectionString Property
5-Sql.Database
These Resources will explain better than me I hope this is helpful ☺️❤️
I recommend you the First and Second Solution 😅❤️if this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.