Description
Azure CLI Authentication with a Service Principal on databricks account level results in error ValueError: default auth: cannot configure default credentials. This works in 0.29.0, but 0.30.0 throws that error.
Reproduction
Log in az cli:
az login --service-principal -u $AZ_CLIENT_ID -p $AZ_CLIENT_SECRET --tenant $AZ_TENANT_ID -o none
Then in python:
databricks_account_client = AccountClient(account_id=databricks_account_id,host="https://accounts.azuredatabricks.net/")
Expected behavior
The account client is authenticated and can perform actions on account level.
Is it a regression?
Worked in 0.29.0, stopped working in 0.30.0.
Other Information
- OS: linux
- Version: 0.30.0