cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Get Azure Databricks Account ID

RozaZaharieva
New Contributor

Hi everyone,

Is it possible with Terraform or Azure CLI or any other not manual method to get the value for Azure Databricks Account ID and not to use manual method as is described here - https://learn.microsoft.com/en-us/azure/databricks/administration-guide/account-settings/#--locate-y....

Thank you in advance.

2 REPLIES 2

Hi there,

I would prefer the REST API way, but I cannot find any method to fetch the account details. Do you know which one I should use?

Thank you.

SHeisterkamp
New Contributor II

I am also looking for a solution to this. The path suggested by @Retired_mod does not work! When I run the proposed az cli, this is what I get:

```

$> az databricks workspace show --resource-group $my_rg --name $my_ws --query 'id'

"/subscriptions/64e..<my_tenant_id>/resourceGroups/<my_rg>/providers/Microsoft.Databricks/workspaces/<my_ws>"

```

This is not the account ID that is needed for the account API. So this is not a solution. Since terraform and REST API are directly aligned with the cli, the result is the same. So at present there is no solution to this. Unless anyone has any other suggestions?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now