Generate Azure Databricks Token using Powershell script


I need to generate Azure Databricks token using Powershell script.
I am done with creation of Azure Databricks using ARM template , now i am looking to generate Databricks token using powershell script .

Kindly let me know how to create Databricks token using Powershell script


The only way to generate a new token is via the api which requires you to have a token in the first place.
Or use the Web ui manually.
There is no official powershell commands for databricks, there are some unofficial ones but they still require you to generate a token manually first.

Disclaimer I’m the author of these.

UPDATE: these powershell commands can now authenticate using a service principal instead of a bearer token (or can generate a bearer token for you).


Generate Azure Databricks Token using Powershell script by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply