Hi @Andre Alves!
Sorry for the delay. It appears that Service Principle ODBC authentication is not supported on the hosted extractors. I’ve done a search in the db extractor gh repo, and I don’t see any notes, PRs, etc in regards to SP support. With that said, I’ve brought this up to the extractor team to see if we can discuss supporting this. From a security standpoint, I’ve asked if it’s possible to integrate the bitwarden secret manager SDK. The bw sdk could be an option to safely inject secrets into a pyodbc driver.
A question and some suggestions about the SP and odbc.
- When you test the creds and the creds fail, does the error supply a sql state?
- Please make sure that your secret is enclosed in brackets in case there is a special character.
- You can temporarily include TrustServerCertificate=yes in your connection string to test SSL settings.
One last point. I did see some Entra ID auth via ODBC to databricks settings that you may want to test. I think the M2M section would apply to this scenario. The auth_scope setting should contain the azure databricks app id, also known as “resource id”
So your auth_scope would look like
Auth_Scope=******-3304-4ab8-85cb-*********/.default
Please let me know your findings to see if any workarounds helped.