High severityconfiguration
Power BI Refresh Error:
BUNDLE_DEPLOYMENT_FAILED
What does this error mean?
A Databricks Asset Bundle (DAB) deployment via the CLI command failed, meaning one or more workspace resources defined in the bundle could not be created or updated.
Common causes
- 1The bundle references a cluster policy, instance pool, or secret scope that does not exist in the target workspace
- 2The deploying service principal lacks the required permissions to create or modify jobs, pipelines, or clusters
- 3A resource definition in the YAML references an invalid or unsupported field for the target Databricks runtime version
- 4A previous partial deployment left the workspace in a conflicting state
How to fix it
- 1Step 1: Run 'databricks bundle validate' locally to catch schema and reference errors before deploying.
- 2Step 2: Review the deployment error output — the CLI prints the specific resource that failed and the API error message.
- 3Step 3: Verify that all referenced resources (cluster policies, instance pools, secret scopes) exist in the target environment.
- 4Step 4: Confirm the service principal used in the CI/CD pipeline has at least CAN_MANAGE permissions on jobs and pipelines.
- 5Step 5: If a previous partial deployment is blocking, run 'databricks bundle destroy' to clean up and then redeploy.