High severityconfiguration
Power BI Refresh Error:
DatabricksUnityNotConfiguredError
What does this error mean?
The dbt-databricks adapter attempted to use Unity Catalog features but the profile is missing a catalog value, or the workspace and compute are not Unity Catalog-enabled.
Common causes
- 1The catalog field is absent from the dbt profile, and the target uses a three-part identifier (catalog.schema.table)
- 2The Databricks workspace does not have Unity Catalog enabled
- 3The cluster or SQL warehouse used is not configured for Unity Catalog access
- 4The service principal lacks USE CATALOG privilege on the target catalog
How to fix it
- 1Step 1: Add the catalog field to the dbt profile under your Databricks target: catalog: my_catalog.
- 2Step 2: Confirm Unity Catalog is enabled in the Databricks workspace admin settings.
- 3Step 3: Ensure the SQL warehouse or cluster is Unity Catalog-compatible — single-user or shared access mode is required.
- 4Step 4: Grant the service principal USE CATALOG on the target catalog: GRANT USE CATALOG ON CATALOG <name> TO <service_principal>;
- 5Step 5: Run dbt debug to validate the profile and confirm the Databricks connection resolves correctly.