Share via

Rename Databricks Metastore

Joanna Stefanska 0 Reputation points
2026-03-25T16:49:22.2166667+00:00

I want to rename the metastore tst-uks-databricks-metastore to uks-metastore, can someone on the Azure side do that for me?

Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.


1 answer

Sort by: Most helpful
  1. Pilladi Padma Sai Manisha 6,665 Reputation points Microsoft External Staff Moderator
    2026-03-25T18:14:21.8066667+00:00

    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

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.