cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Error while Deploying Asset Bundle using Azure Devops

felix_immanuel
New Contributor II

Hi,

I'm trying to deploy the Asset Bundle using Azure DevOps, it is giving me this error

 

Step: databricks bundle validate -t dev

========================== Starting Command Output ===========================
2024-09-02T05:41:19.9113254Z Error: failed during request visitor: default auth: azure-cli: cannot get account info: exit status 1. Config: host=<Workspace_Link>, azure_tenant_id=<Tenant_ID>, client_secret=***, databricks_cli_path=C:\Windows\databricks.exe. Env: DATABRICKS_HOST, DATABRICKS_CLIENT_SECRET, DATABRICKS_CLI_PATH
2024-09-02T05:41:19.9113990Z

steps:
- bash: 'databricks bundle validate -t dev'
workingDirectory: '$(System.DefaultWorkingDirectory)/_Datalake-Databricks/databricks_asset_bundle'
displayName: 'validate databricks asset bundle'
env:
DATABRICKS_CLIENT_SECRET: $(DATABRICKS_CLIENT_SECRET)

Could you please help me with this.

Thanks

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

szymon_dybczak
Contributor

Hi @felix_immanuel ,

Look at below thread. There is some kind of issue when it comes to using azure CLI and DAB. But, there is workaround that seems to be working:

https://github.com/databricks/cli/issues/1722

View solution in original post

felix_immanuel
New Contributor II

This issue is been fixed now, there was a problem in the Client ID which was masked. I Remove the mask and tried it worked.

Thanks

View solution in original post

2 REPLIES 2

szymon_dybczak
Contributor

Hi @felix_immanuel ,

Look at below thread. There is some kind of issue when it comes to using azure CLI and DAB. But, there is workaround that seems to be working:

https://github.com/databricks/cli/issues/1722

felix_immanuel
New Contributor II

This issue is been fixed now, there was a problem in the Client ID which was masked. I Remove the mask and tried it worked.

Thanks

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group