Azure databricks workspace

Azuretech 90 Reputation points
2023-04-26T10:38:58.4666667+00:00

Hi , We have more than couple of databricks in our environment . I want to get the report of the cluster information or number of worker/auto termination setting in each workspace. 1 -Do I need to first request for access in all the workspace  or if there is any way /command to get the report in one go  ? I have global admin access but dont have access on workspace? 2- Is there a way a global admin can access the workspace without requesting the workspace admins to grant access?

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,514 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,641 Reputation points Moderator
    2023-04-28T08:27:21.98+00:00

    @Azuretech - Thanks for the question and using MS Q&A platform.

    1. To get the report of cluster information or number of worker/auto-termination setting in each workspace, you will need to have access to each workspace. As a global admin, you can request access to each workspace or ask the workspace admins to provide you with the necessary information. There is no command or way to get the report in one go without having access to each workspace.
    2. As a global admin, you can use the Azure Databricks CLI to access the workspace without requesting the workspace admins to grant access. You can use the "databricks configure --token" command to configure the CLI with your Azure Databricks personal access token. Once configured, you can use the CLI to access the workspace and retrieve the necessary information. However, this approach requires that you have the necessary permissions to access the workspace resources. If you do not have the necessary permissions, you will still need to request access from the workspace admins.

    Using Databricks Cluster CLI - we can get the he report of the cluster information or number of worker/auto termination setting in each workspace as shown below:

    User's image

    For more details, Azure Databricks Clusters CLI.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.