Stefan-Koch
Databricks Partner

hi @AnkurMittal008 

In general, I do not recommend using tokens anymore. Instead, if you want to log in via databricks cli, you can use this command:

databricks auth login --host https://accounts.azuredatabricks.net/ --account-id <YOUR_ACCOUNT_ID>

This will open a web browser, and you can authenticate. (This is an example with Azure Databricks)

If you want to run an application, use M2M-Authentication. Have a look at the documentation here: https://docs.databricks.com/aws/en/dev-tools/auth/ 

Hope, that helps.