โ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!
3 weeks ago
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
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