4 weeks ago
Hi all,
I'm experiencing an intermittent connection issue between Power BI Desktop and our Azure Databricks SQL Warehouse and looking for help troubleshooting
Error Message:
ODBC: ERROR [HY000] [Microsoft][ThriftExtension] (14) Unexpected response from server during a HTTP connection: Bad Status: Unrecognized response with no error message header. Status code: 400.
Setup:
Behaviour:
Started after a failed connection attempt while working from home one day (was not aware at the time that org does not allow azure databricks connection while working for home)
What temporarily fixes it:
Already tried:
Running out of troubleshooting options.
4 weeks ago
The intermittent ODBC error youโre seeing in Power BI when connecting to Azure Databricks is a recognized issue related to SSL validation interruptions or proxy interference in the Simba ThriftExtension layer. The behaviorโrandom occurrences, temporary resolution by clearing credentials, and the recent start after remote accessโstrongly points to a network trust or authentication token caching issue.
Recent Microsoft and Databricks discussions identify several common triggers:
SSL/Certificate verification failure caused by corporate proxy inspection or firewall rewriting the Databricks SSL certificate (e.g., Zscaler, Palo Alto, or Windows Defender MITM scanning).โ
Corrupted cached Azure AD tokens in Power BI after a failed offsite (VPN or remote) authentication attempt.โ
Firewall or conditional access blocks when Power BI attempts automatic token refresh in the background.โ
ODBC driver instability introduced in mid-2025 Power BI Desktop releases (Simba Spark ODBC driver component).โ
Disable revocation checking (test only)
Navigate toC:\Program Files\Microsoft Power BI Desktop\bin\ODBC Drivers\Simba Spark ODBC Driver\
Create or edit a file named microsoft.sparkodbc.ini
Add:
[Driver]
CheckCertRevocation=0
Save, restart Power BI Desktop, then retest.โ
Add your corporate SSL inspection certificate
Obtain the organizationโs root or intermediate CA certificate (e.g., from Zscaler or Palo Alto) in .pem or .crt format.
Append it to the ODBC driverโs trust store in the same directory as above.โ
Force Power BI to reissue authentication tokens
In Power BI Desktop, open File โ Options and Settings โ Data Source Settings โ Edit Permissions.
Select the Databricks entry, then Clear Permissions and sign in again using Azure Active Directory.
Ensure no credentials for Databricks remain in Windows Credential Manager.
Network enforcement
If your org disallows Databricks connections from non-corporate networks, cached credentials created from a home IP can poison future refresh attempts. Restarting Power BI on a whitelisted network and reauthenticating resolves this.โ
Optional mitigation
Update to the most recent Power BI Desktop patch (October 2025 hotfix includes connection stability improvements for Databricks private-link environments).โ
If instability persists, test using the Direct Databricks connector (not ODBC) via the Azure Databricks option within Power BI Get Data; it uses the REST interface rather than Thrift.โ
The ODBC [HY000] ThriftExtension 400/SSL-related error occurs because Power BIโs embedded Simba ODBC driver intermittently fails SSL or token validation, often due to network inspection or corrupted cached credentials. Applying the certificate update or adjusting revocation settings has resolved this for most users on current builds
4 weeks ago
The intermittent ODBC error youโre seeing in Power BI when connecting to Azure Databricks is a recognized issue related to SSL validation interruptions or proxy interference in the Simba ThriftExtension layer. The behaviorโrandom occurrences, temporary resolution by clearing credentials, and the recent start after remote accessโstrongly points to a network trust or authentication token caching issue.
Recent Microsoft and Databricks discussions identify several common triggers:
SSL/Certificate verification failure caused by corporate proxy inspection or firewall rewriting the Databricks SSL certificate (e.g., Zscaler, Palo Alto, or Windows Defender MITM scanning).โ
Corrupted cached Azure AD tokens in Power BI after a failed offsite (VPN or remote) authentication attempt.โ
Firewall or conditional access blocks when Power BI attempts automatic token refresh in the background.โ
ODBC driver instability introduced in mid-2025 Power BI Desktop releases (Simba Spark ODBC driver component).โ
Disable revocation checking (test only)
Navigate toC:\Program Files\Microsoft Power BI Desktop\bin\ODBC Drivers\Simba Spark ODBC Driver\
Create or edit a file named microsoft.sparkodbc.ini
Add:
[Driver]
CheckCertRevocation=0
Save, restart Power BI Desktop, then retest.โ
Add your corporate SSL inspection certificate
Obtain the organizationโs root or intermediate CA certificate (e.g., from Zscaler or Palo Alto) in .pem or .crt format.
Append it to the ODBC driverโs trust store in the same directory as above.โ
Force Power BI to reissue authentication tokens
In Power BI Desktop, open File โ Options and Settings โ Data Source Settings โ Edit Permissions.
Select the Databricks entry, then Clear Permissions and sign in again using Azure Active Directory.
Ensure no credentials for Databricks remain in Windows Credential Manager.
Network enforcement
If your org disallows Databricks connections from non-corporate networks, cached credentials created from a home IP can poison future refresh attempts. Restarting Power BI on a whitelisted network and reauthenticating resolves this.โ
Optional mitigation
Update to the most recent Power BI Desktop patch (October 2025 hotfix includes connection stability improvements for Databricks private-link environments).โ
If instability persists, test using the Direct Databricks connector (not ODBC) via the Azure Databricks option within Power BI Get Data; it uses the REST interface rather than Thrift.โ
The ODBC [HY000] ThriftExtension 400/SSL-related error occurs because Power BIโs embedded Simba ODBC driver intermittently fails SSL or token validation, often due to network inspection or corrupted cached credentials. Applying the certificate update or adjusting revocation settings has resolved this for most users on current builds
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now