High severityconfiguration
Power BI Refresh Error:
DATABRICKS_APPS_DEPLOYMENT_FAILED
What does this error mean?
A Databricks App failed to deploy, typically because the app configuration is invalid, required resources are missing, or the app image could not be built.
Common causes
- 1The app.yaml configuration file contains syntax errors or references non-existent resources
- 2Required Python packages in requirements.txt could not be resolved or downloaded
- 3The service principal used by the app lacks sufficient permissions on referenced Databricks resources
- 4The workspace does not have Databricks Apps enabled or the feature is restricted by policy
How to fix it
- 1Step 1: Check the deployment logs in the Databricks Apps UI or via the Apps API for the specific error message.
- 2Step 2: Validate app.yaml syntax and confirm all referenced SQL warehouses, clusters, and secrets exist.
- 3Step 3: Test requirements.txt by running pip install -r requirements.txt locally or in a cluster notebook.
- 4Step 4: Verify the app service principal has USE on the warehouse and READ on any referenced data resources.
- 5Step 5: If the workspace policy restricts Apps, contact your Databricks admin to enable the feature.