An Apache Spark-based analytics platform optimized for Azure.
Hello @Niki Vasan
The METASTORE_DOES_NOT_EXIST message and “The workspace should have Unity Catalog enabled” indicate that this is most likely a workspace configuration issue, rather than a problem with your VS Code extension or Python environment.
For an existing Azure Databricks workspace, Unity Catalog is enabled by assigning the workspace to a Unity Catalog metastore. This is normally an account-level administrative task.
I would ask your Azure Databricks account administrator to check the workspace in the Databricks Account Console. They can:
- Go to Catalog and verify that a Unity Catalog metastore exists in the same region as your workspace.
- Open the metastore → Workspaces → Assign to workspace.
- Select your team's workspace and enable the assignment.
- Verify that your user/group has the appropriate catalog/schema privileges afterward.
You can also verify whether the workspace is already attached to a metastore from the Account Console under Workspaces. The Metastore column should contain a metastore name.
One thing to keep in mind is that enabling Unity Catalog on an existing workspace cannot be reversed, so your Databricks administrators should review the identity, access, and data-governance implications before making the change.
So, in your case, I wouldn't spend more time troubleshooting VS Code yet. The screenshots are consistent with the extension reaching the workspace but finding that the required Unity Catalog/metastore configuration isn't available.
Sharing you these references:
Microsoft Learn: Enable a workspace for Unity Catalog | https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/enable-workspaces?
Microsoft Learn: Unity Catalog setup guide | https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/setup-uc?
Once the metastore is assigned, reconnect the Databricks extension and retry attaching to the Unity Catalog-enabled compute.
Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.