Search code examples
azure-devopsazure-databricks

Unable to Deploy Databricks Notebook with provided Databricks Extension


I am using Azure Devops to deploy Databricks Notebooks. I have installed two extensions, as shown in the image.

enter image description here

The first extension ' Databricks Deploy Notebooks' successfully deploys a notebook to Databricks. However, the second extension 'Execute Databricks Notebook' fail's with the error:

Unable to locate executable file: 'databricks'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.

Any thoughts on what I might be doing wrong?


Solution

  • As was suggested by Daniel, I needed to add the extension "Configure Databricks CLI" task before "Execute". After adding the extension before "Execute" the task completed successfully.