简体   繁体   中英

ODBC/JDBC Driver to Azure connection fails with a 401/403 error when connecting via Power BI/ Python / Tableau

I am trying to connect to my companys databricks and I can write a sql script in the notebook and it gives me an output. However, I am currently trying to connect to databricks via python/power bi and i keep getting a 401 and/or 403 error.

在此处输入图像描述

^ these are the settings in azure for me.

在此处输入图像描述

^^ this is how i put it into the simba spark odbc driver DSN setup. 在此处输入图像描述

^ these are my http properties and SSL options as inputted.

在此处输入图像描述

^^ ODBC datasource administrator in 64 bit

在此处输入图像描述

在此处输入图像描述

this is the error that im getting.

在此处输入图像描述

^ this is the output when i try to make a connection through python

I was having same issue and then figured the Personal Access Token was not created. When we cloned the cluster, we missed to create a new token. Once I created the token and provided it, I was able to connect both JDBC and ODBC.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM