Forum Discussion
Certificate Chain Not Trusted Error Effecting PowerBI Only
- 8 years ago
This ended up being a fairly easy solution, in order to work around this issue I ended up just having to switch the connection type from MSFT account to Windows for any who encounter this issue in the future.
Wanted to add that there is a new issue we received a fix from MS from, looks fairly recent (starting Feb 13 2024). We were getting "certificate chain not trusted" errors on servers for Power BI Reports that previosuly worked no issue, no change anywhere.
Documented here, search "PBI_SQL_TRUSTED_SERVERS": https://learn.microsoft.com/en-us/power-query/connectors/sql-server
Can confirm after 3 days of trial and error, adding this environment variable (PBI_SQL_TRUSTED_SERVERS) to "Environment variables for your account" with the problem server name did the trick. I did have to clear out the Connection data (File > Options and Settings > Data source settings - select DB and Clear Permissions). Then add the data source back.
Adding this to all the top Google hits to hopefully save others the pain.
- James_Smith2 years agoRegular Visitor
deanj20 Man, I want to thank you. You probably saved me hours of work, research and frustration!
This worked for me.
- _121188nha1 year agoRegular Visitor
Thank you