Databricks courseLesson 9 of 13
Databricks course · Lesson 9 of 13
Azure Databricks for Data Engineers: Storage, Identity, Networking and Integrations
What is different about Databricks on Azure: ADLS Gen2 through access connectors and Unity Catalog, Microsoft Entra ID, Key Vault secrets, networking, and Data Factory, Event Hubs and Power BI.
On this page
Azure Databricks is Databricks offered as a first-party Azure service: you create it from the Azure portal, it bills through your Azure subscription, and it plugs into Azure identity, storage and networking. Day-to-day engineering (Spark, Delta Lake, Unity Catalog, Lakeflow Jobs) is the same as on AWS or Google Cloud, so the rest of this course applies unchanged. This lesson covers what is specific to Azure, which is also what interviewers for Azure-based teams ask about.
How a workspace sits in your subscription
When you create an Azure Databricks workspace in a resource group, Azure also creates a managed resource group that Databricks controls. It holds workspace infrastructure, and for classic compute the virtual machines, disks and network interfaces of your clusters. You cannot edit it directly; change compute through Databricks instead.
- Classic compute runs in your subscription, either in a virtual network Databricks creates or in your own (VNet injection, below). Your Azure VM quotas apply, so a “quota exceeded” error at cluster start is an Azure limit, not a Databricks one.
- Serverless compute and serverless SQL warehouses run in Databricks-managed capacity in the same Azure region, and reach your storage through the same Unity Catalog credentials.
Storage: ADLS Gen2 through Unity Catalog
Data lives in Azure Data Lake Storage Gen2, which is a storage account with the hierarchical namespace turned on. Paths use the abfss scheme:
abfss://<container>@<storage-account>.dfs.core.windows.net/<path>
The modern, recommended way to connect is through Unity Catalog, with no keys in notebooks:
- Create an Access Connector for Azure Databricks in Azure. It carries a managed identity (system-assigned by default), so there is no secret to store or rotate.
- Give that identity a role on the storage account or container, for example Storage Blob Data Contributor for read and write.
- In Databricks, create a storage credential that points to the access connector, then an external location for the container path.
- Grant privileges on the external location, and create external tables or volumes on it, or use it as managed storage for a catalog.
CREATE EXTERNAL LOCATION IF NOT EXISTS landing_orders
URL 'abfss://[email protected]/orders'
WITH (STORAGE CREDENTIAL adls_access_connector)
COMMENT 'Raw order files from the ERP export';
GRANT READ FILES ON EXTERNAL LOCATION landing_orders TO `data_engineers`;
df = (spark.read.format("json")
.load("abfss://[email protected]/orders/2026-11-20/"))
Older code mounts storage with dbutils.fs.mount, account keys in Spark configuration, or a service principal secret set per notebook. Treat those as legacy: mounts bypass Unity Catalog permissions and do not work on serverless, and keys in code are a leak waiting to happen. Migrating them to external locations is a common project on Azure teams.
Identity: Microsoft Entra ID
Users, groups and service principals come from Microsoft Entra ID (formerly Azure Active Directory). Sync them to the Databricks account with automatic identity management or SCIM provisioning, then grant Unity Catalog privileges to groups, not individuals. Production jobs run as a Databricks service principal, which can be backed by an Entra ID application.
Common interview point: workspace access and data access are separate. Being a member of the workspace lets someone log in; Unity Catalog grants decide which catalogs, schemas and tables they can read.
Secrets: Key Vault and Unity Catalog
Credentials that code needs at run time (a database password, an API key) never go into notebooks. Azure Databricks offers two places for them:
- Workspace secret scopes, either managed by Databricks or backed by Azure Key Vault, so the value is stored and rotated in Key Vault and Databricks only reads it.
- Secrets in Unity Catalog, governed objects named
catalog.schema.secretthat every workspace on the metastore can use, with grants per secret. They can also be backed by Key Vault (in Beta as of November 2026).
password = dbutils.secrets.get(scope="erp-kv", key="erp-db-password")
Values read this way are redacted if printed in notebook output.
Networking
Security teams usually ask for some of these:
- VNet injection: deploy classic compute into your own Azure virtual network, so you control routes, firewalls and peering to on-premises networks.
- Secure cluster connectivity (no public IP): cluster nodes have no public IP addresses and connect out to the control plane.
- Private Link: private endpoints for the workspace front end (users and APIs) and back end (compute to control plane), so traffic stays off the public internet.
- Storage firewalls: allow access from the Databricks subnets and serverless network configuration, and through the access connector’s identity.
Serverless compute has its own network controls (network connectivity configurations and egress policies), so check them when you move a workload from classic to serverless.
Integrations you will meet
- Azure Data Factory (and Fabric Data Factory) can run Databricks notebooks and jobs as pipeline activities. Teams that already orchestrate in Data Factory often keep it as the outer scheduler, while others move orchestration into Lakeflow Jobs to keep retries, repairs and lineage in one place. Prefer triggering a Databricks job rather than a bare notebook, so the run uses job compute and keeps its history.
- Azure Event Hubs exposes a Kafka-compatible endpoint, so Structured Streaming and declarative pipelines read it with the Kafka source.
- Power BI connects to SQL warehouses with the Azure Databricks connector; publish semantic models on gold tables and let a serverless SQL warehouse serve them.
- Microsoft Fabric can mirror Unity Catalog catalogs, so Fabric users read Databricks tables without copying them.
- Azure DevOps or GitHub hold the code, and pipelines deploy it with bundles and the Databricks CLI.
Cost on Azure
You pay Databricks DBUs on the Azure bill and, for classic compute, the Azure VMs and disks as well. Azure reservations and spot VMs reduce VM cost for classic clusters; serverless includes the infrastructure in the DBU price. The system.billing.usage table works the same as on other clouds, as covered in the monitoring and cost lesson.
Common mistakes
- Mounting storage with account keys. Use an access connector, storage credential and external location.
- Granting data access to individual users. Grant to Entra ID groups synced to Databricks.
- Running Data Factory activities against an all-purpose cluster. Trigger a Databricks job on job or serverless compute instead.
- Ignoring Azure quotas. Cluster start failures often come from VM family quotas in the region.
- Assuming a storage firewall change will not affect serverless. Serverless traffic comes from different network addresses; configure it explicitly.
Interview angle
“How would you give Databricks secure access to a data lake on Azure?” Create an Access Connector for Azure Databricks with a managed identity and grant it a Storage Blob Data role on the ADLS Gen2 account. Register it in Unity Catalog as a storage credential. Then define external locations and grant READ FILES or table privileges to Entra ID groups. Mention that mounts and account keys are the legacy approach, and that secrets for other systems belong in Key Vault-backed scopes or Unity Catalog secrets.
Key takeaway
On Azure, Databricks works the same way once data and identities are connected. Connect ADLS Gen2 through access connectors and Unity Catalog, and manage people through Entra ID groups and secrets through Key Vault or Unity Catalog. Lock down the network to match your security team’s rules, and integrate Data Factory, Event Hubs and Power BI at the edges.
Progress is saved in this browser only. No account needed.

