An Apache Spark-based analytics platform optimized for Azure.
Hi Joanna Stefanska,
Thankyou for reaching microsoft Q&A!
Renaming a Unity Catalog metastore is not supported as a safe, in‑place operation. The metastore name is effectively immutable after creation, and any attempt to “rename” it (for example via Terraform, CLI, or the metastore‑update API) results in a recreation rather than a true rename.
If you need a different name, the recommended path is:
Create a new metastore with the desired name (for example uks-metastore).
Migrate your catalogs, schemas, external locations, and permissions.
Reassign your workspaces to the new metastore.
Reference: Databricks KB – Renaming a metastore results in recreation (not in‑place rename): https://kb.databricks.com/unity-catalog/using-terraform-to-rename-a-metastore-in-unity-catalog-destroys-and-recreates-it-instead