An Apache Spark-based analytics platform optimized for Azure.
Hi Jurijs,
Welcome back from vacation - thank you for testing thoroughly and reporting back with clear results.
Your findings are very conclusive and have moved us past the diagnostic phase. Here is where we stand:
What your test results confirm:
Since ALTER CATALOG ... SET MANAGED LOCATION fails with "command is not enabled here" on ALL catalogs (not just databricks_internal), across all compute types (serverless, private, preview channel, UC-enabled and non-UC clusters), this is definitively a workspace-level or metastore-level feature gate - the ALTER CATALOG SET MANAGED LOCATION capability is simply not enabled for your workspace.
This is not a permissions problem (a permissions error would name the missing privilege). This is not a compute version problem (you have tested Preview channel). This is not specific to databricks_internal. The feature flag needs to be enabled at the platform level for your workspace.
This cannot be resolved by any configuration change on your end.
Next steps - what we will do:
We will raise this internally with the Azure Databricks engineering team to:
- Enable the ALTER CATALOG SET MANAGED LOCATION feature flag for your workspace/metastore.
- If that is not possible (since databricks_internal is a system-managed catalog with additional restrictions), request a backend/platform-side change to repoint the storage root of __databricks_internal to a new location on your behalf.
To action this, please confirm the following in the private message so we can include it in the engineering request:
- Workspace ID:
- Metastore ID: Please share this - you can find it in the Databricks Account Console under Unity Catalog > Metastores > your metastore > Details
- Current storage root path for databricks_internal (from your DESCRIBE CATALOG EXTENDED databricks_internal output — the Location field)
- Target new storage root path you would like it pointed to (the new ADLS Gen2 path, e.g. abfss://<container>@<account>.dfs.core.windows.net/<path>)
- The external location that will cover the new target path - please confirm it already exists and you hold CREATE MANAGED STORAGE on it
Important - before you delete the storage account:
Please do NOT delete the old storage account or subscription yet. A Unity Catalog reference pointing into a deleted subscription is significantly harder to clean up than one resolved while the storage still exists.
Once engineering repoints the catalog storage root, the sequence to safely cleanup will be:
- Confirm databricks_internal now points to the new location.
- In Catalog Explorer > External Data > External Locations, locate prior_metastore_root_location (created automatically when you removed the metastore root). Drop it along with its associated storage credential.
- Confirm no other external locations reference the old storage account.
- Then delete the old storage account and subscription.
We will follow up as soon as we have a response from the engineering team. Given the straightforward nature of the request (empty storage, no active data, stale metadata reference), we expect this to be actionable.
Please share the details above at your earliest convenience so we can proceed without delay.