why we need to create a token before applying Token permissions in databricks

JA 131 Reputation points
2023-12-29T04:38:58.6066667+00:00

We want to enable the access for the users to create token.

Now, I have logged in to the databricks account using the admin access, and I go to "Access Control" -> "Personal Access Tokens" and I want to enable the access to the users so that they can create token. But I see that button to enable the settings is disabled and it shows a msg on hovering that "Token permissions can be set only if at least one token has been created in the workspace."

User's image

Now, my question is why this sort of pre-condition is added. When all I have to do is enable my users to be able to use token, then why do I need to create a token first which is of no use.

Is this a bug or a desired functionality. If yes, then whats the reason behind it.

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

Answer accepted by question author
  1. JAYA SHANKAR G S 4,190 Reputation points Microsoft External Staff Moderator
    2024-01-02T05:10:53.9033333+00:00

    Yes, that is due to Testing and Verification of tokens.

    Before allowing token creation for other users, the system want to confirm that the token creation process functions properly. By requiring the creation of at least one token, it ensures that the system has been tested and operates as anticipated.

    Initially, it will ask you to create the token. Afterwards, even if you revoke the token, you can still use Permission Settings.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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