Forum Discussion
Anonymous
4 years agoNot applicable
Connect PowerBI to SQL Server - TrustServerCertificate
Hi there, I have a problem with connecting my PowerBI desktop to my SQL server. I know 100% the problem lies with the 'TrustServerCertificate' attribute. When logging into to SSMS, or creatin...
JMLyle
1 year agoAdvocate I
[System.Environment]::SetEnvironmentVariable('PBI_SQL_TRUSTED_SERVERS','<servername>', 'User')
OVerplancke
1 year agoNew Member
This solution worked for me.
PowerBI (much like Fabric), when using custom certificates for your internal sql servers, doesn't have the option to say "Trust Server Certificate" like you can in a traditional connectionstring.