Hi all,
I have a question about how to use Databricks CLI on my local environment as a service principal?
I have installed Databricks CLI and configured the file `.databrickscfg` as shown below.
[DEFAULT]
host = https://adb-123123123.1.azuredatabricks.net
auth_type = databricks-cli
[devsp]
host = https://adb-123123123.1.azuredatabricks.net
azure_tenant_id = <my-azure-tenant-id>
azure_client_id = <my-ms-entra-id-service-principal-client-id>
azure_client_secret = <my-ms-entra-id-service-principal-client-secret>
I use Microsoft Entra ID service principal and added the service principal to the Databricks workspace.
However, when I run the command `databricks current-user me -p devsp`, I still see my personal user information. When I run the command `databricks tokens create -p devsp`, I still create a PAT for my personal user.
Any help will be appreciated!
Regards,
Albert