Secure Delta Sharing Between Databricks Workspaces Using NCC and Private Endpoints
Rafia_Aqil demonstrates secure Delta table sharing between Azure Databricks workspaces, covering NCC setup and private endpoint approval for robust data connectivity and protection.
Secure Delta Sharing Between Databricks Workspaces Using NCC and Private Endpoints
Author: Rafia_Aqil
This guide walks through securely sharing Delta tables across two Azure Databricks workspaces—NorthCentral and SouthCentral—by configuring Delta Sharing, Network Connectivity Configuration (NCC), and setting up private endpoints for a Serverless Warehouse.
Part 1: Delta Sharing Between Workspaces
Access Delta Shares
- In your NorthCentral Workspace:
- Go to Catalog.
- Hover over Delta Shares Received and click when the icon appears to open the Delta Sharing page.
Create a New Recipient
- On the Delta Sharing page:
- Click Shared by me.
- Click New Recipient.
- Enter recipient details:
- Recipient Name: (Specify the recipient)
- Recipient Type: Select “Databricks”
- Sharing Identifier: Example –
azure:southcentralus:3035j6je88e8-91-434a-9aca-e6da87c1e882
- Retrieve using a notebook or SQL:
SELECT CURRENT_METASTORE();
- Retrieve using a notebook or SQL:
- Click Create.
Share Data
- Initiate sharing:
- Click Share Data.
- Provide a Share Name and select desired data assets.
- Note: Disable History for these data assets to simplify access and avoid unwanted historical data exposure. Consider data partitioning if appropriate.
- Add the previously created recipient.
- Click Share Data.
Add Recipient and Complete Setup
- In the newly created share:
- Click Add Recipient and select your SouthCentral workspace Metastore ID.
SouthCentral Workspace Operations
- In your SouthCentral Workspace:
- Access Delta Sharing page.
- Under Shared with me, locate and open the newly created share.
- Add the share to a catalog in Unity Catalog for managed access.
Part 2: Enable NCC for Serverless Warehouse
Add Network Connectivity Configuration (NCC)
- In the Databricks Account Console (link):
- Go to Cloud resources and click Add Network Connectivity Configuration.
- Fill in fields and associate the NCC with SouthCentral.
Associate NCC with Workspace
- In Account Console:
- Go to Workspaces, select SouthCentral, and click Update Workspace.
- Under Network Connectivity dropdown, select your newly created NCC.
Add Private Endpoint Rule
- In Cloud resources:
- Select your NCC.
- Open Private Endpoint Rules and select Add Private Endpoint Rule.
- Provide:
- Resource ID: Enter the Storage Account Resource ID for NorthCentral (find it via the “JSON View” in Azure Storage).
- Azure Subresource Type: Specify
dfs
&blob
as needed.
Approve Pending Connection
- In NorthCentral Storage Account settings:
- Go to Networking > Private Endpoints, view pending connections from Databricks, and approve.
- Check for status update—should show as ESTABLISHED in the Account Console.
Upon completion, your shared Delta tables should be listed under Delta Shares Received in SouthCentral. If not visible, apply permissions with:
GRANT USE_PROVIDER ON METASTORE TO `username@xxxx.com`;
Additional Recommendations
- Always review partitioning options for large datasets to optimize access.
- Regularly check NCC and private endpoint statuses to maintain secure connectivity.
- Disable unnecessary history sharing to minimize exposure.
References
Last updated: Oct 18, 2025 – Version 1.0
This post appeared first on “Microsoft Tech Community”. Read the entire article here