Hi,
I have done this in the past successfully. You do not have to delete a metastore if you are moving anywhere within the same tenant.
Metastore is essentially 2 things
1. Storage account , whose identifier is of the format abfss://container@datalakename.dfs.core.windows.net. If you see it only has the datalekename. When you move to a new subscription, the datalakename does not change. At least in azure, providing you are just moving it to a new subscription. Since the metastore only depends on the datalake name, you can move it anywhere provided the name remains the same.
2. Databricks access connector- this we found can’t be moved to another location. So we created a new one. You should ideally create a separate access connector for the metastore, separate from ones accessing other locations/resources.
what we did:
1. Moved the storage account associated with the metastore to the new location using azure portal’s move option . You can also use cli.
2. created a new access connector in the same subscription as the metatsore as we wanted that to be separate.
3. Assign the new access connector “storage blob data contributor role” to the metastore storage account.
4. provided you are a metastore admin, login to any workspace associated with the metastore, go to the catalog menu, select settings->external locations. Click on the external location, corresponding to the metastore. Yes, workspace attached to a metastore has the details under external locations. Click edit and update it with the new access connector that you created in step 2.
Steps 4 is required, as from Account console, after a metatstore is created, you can’t edit it from the ui. But you can from catalog settings on a connected workspace. You can also do the same from rest api/cli.
We did it smoothly without any glitch.