Short answer: Azure Data Lake Storage Gen2 is an Azure storage account with the hierarchical namespace turned on. Folders become real directories, so renaming or deleting a folder is one quick operation, and you can set access on folders and files with POSIX-style ACLs. Spark, Data Factory, Synapse and Fabric shortcuts all read it through the abfss:// address.
Without the namespace, a "folder" in Blob Storage is only a prefix in file names: renaming one means copying every file in it. For a data lake that rewrites folders daily, that difference matters.
What does the hierarchical namespace change?
| Task | Flat Blob Storage | Data Lake Storage Gen2 |
|---|---|---|
| Rename a folder | copy and delete every file | one operation |
| Delete a folder | delete every file | one operation |
| Access per folder | not possible | ACLs on folders and files |
| Address for Spark | wasbs:// | abfss:// |
The namespace is chosen when the account is created, or an existing account can be upgraded to it. The upgrade is one-way.
How do you address a file?
abfss://<container>@<account>.dfs.core.windows.net/<folder>/<file>
abfss://raw@contosolake.dfs.core.windows.net/sales/orders/2026/10/28/orders.parquetNote dfs, not blob: the Data Lake endpoint is the one that knows about directories.
df = spark.read.parquet("abfss://raw@contosolake.dfs.core.windows.net/sales/orders/2026/10/")How do you lay out the folders?
- rawsales/orders/2026/10/28/ as the source sent it
- curatedsales/orders/ as cleaned Delta tables
- servingsales_mart/ shaped for reports
A folder per source and a date path in the raw layer make a reload of one day a matter of one folder, and let access follow the layout: the team that owns sales gets the sales folders.
Who gets access, and how?
Two layers decide it. Azure roles (RBAC) such as Storage Blob Data Reader apply to the whole account or container. ACLs apply to folders and files below that. Give services roles through their managed identity, and keep ACLs for the cases where one container holds data for several teams.
What goes wrong?
- Millions of tiny files. Every engine reads many small files slowly. Land in batches, and compact Delta tables with
OPTIMIZE. - ACLs set after the files exist. A default ACL on a folder applies only to new children. Set defaults first, or apply ACLs recursively.
- Keys in code. An account key opens everything. Use managed identities or a short-lived SAS instead.
Where can you check this?
- Microsoft Learn: Introduction to Azure Data Lake Storage
- Microsoft Learn: Azure Data Lake Storage hierarchical namespace
- Microsoft Learn: Access control lists in Azure Data Lake Storage
Where do you start?
A Fabric lakehouse can read these folders where they are with a shortcut: OneLake shortcuts: use data without copying it. The layers above are the bronze, silver and gold pattern in folder form.