09-01-2024 10:44 PM - edited 09-01-2024 10:46 PM
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
09-01-2024 10:52 PM
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:
09-09-2024 06:09 PM
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
09-01-2024 10:52 PM
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:
09-09-2024 06:09 PM
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
09-23-2024 05:30 PM
Dear @felix_immanuel I met a similar issue with the same error message. Could you kindly explain more about how did you fix it?
Much appreciate!
11-07-2024 12:16 AM
I had similar error message but then using correct environment variables in the pipeline solved the problem. Especially setting DATABRICKS_HOST point to the account.
More detailed description is here Databricks Asset Bundle OAuth Authentication in Azure DevOps
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now