A shortcut is an object in OneLake that points at data stored somewhere else, so you can use that data in place instead of copying it. The place it points to is the target path; the place where the shortcut shows up is the shortcut path. To every engine that reads OneLake it looks like an ordinary folder, much like a symbolic link.
Where you can create them
Shortcuts can be created in lakehouses and in KQL databases, through the portal or the REST API.
In a lakehouse there are two top-level areas:
- Tables: create shortcuts only at the top level, never in a subfolder. If the target holds a supported table format such as Delta, the lakehouse registers it as a table and keeps its schema in sync automatically. A shortcut here can point at one table or at a schema (a parent folder of several tables), and schema shortcuts require a schema-enabled lakehouse. A name with a space is not recognized as a Delta table.
- Files: create shortcuts at any depth, pointing at data in any format. No table discovery happens.
In a KQL database, a shortcut is treated as an external table and you read it with the external_table() function.
What they can point to
- Internal targets: lakehouses, warehouses, KQL databases, mirrored databases, SQL databases, semantic models, and mirrored Azure Databricks catalogs, in the same item, another item or another workspace. Item types do not have to match; a lakehouse can have a shortcut into a warehouse.
- External targets: Amazon S3 and S3-compatible storage, ADLS Gen2, Azure Blob Storage, Google Cloud Storage, Dataverse, Iceberg tables, and OneDrive and SharePoint. On-premises or network-restricted storage is reachable through the on-premises data gateway.
Using a shortcut
# Spark: read a Tables shortcut as Delta
df = spark.read.format("delta").load("Tables/MyShortcut")
-- SQL analytics endpoint of the lakehouse
SELECT TOP (100) * FROM MyLakehouse.dbo.MyShortcut;
external_table('MyShortcut') | take 100
Direct Lake semantic models can read shortcuts in the Tables area too, and outside applications can reach them through the OneLake API.
Behavior to know
- Deleting a shortcut removes only the shortcut. The target is untouched. But if you delete a file or folder inside a shortcut and your permissions on the target allow it, that content is deleted from the target.
- Moving, renaming or deleting the target can break the shortcut.
- Caching reduces egress cost for cross-cloud access. It is available for Google Cloud Storage, S3, S3-compatible and gateway-based shortcuts, with retention between 1 and 28 days (reset on each access). It is switched on in the OneLake tab of the workspace settings, where you can also reset the cache.
- Cloud connections: ADLS and S3 shortcuts authorize through a connection, and only users with permission on that connection can bind it to a new shortcut.
Permissions
To create a shortcut you need write permission on the item holding it plus read access to the target. When someone uses a shortcut, the more restrictive of the shortcut-path and target-path permissions applies, so write access in the lakehouse does not let you write to a target where you only have read access. For same-tenant OneLake targets, passthrough (the caller's identity) is the default and delegated identity is optional. External and cross-tenant shortcuts use delegated authentication, so users need no direct access to the external system. Note the exception: Direct Lake over SQL semantic models and T-SQL in delegated identity mode use the item owner's identity, not the caller's.
Limits
An item supports up to 100,000 shortcuts and 100 unique connections; one path supports up to 10 shortcuts; shortcut-to-shortcut chains are limited to 5 links; names cannot include % or +.
Common mistakes
- Creating a Tables shortcut in a subfolder.
- Assuming that deleting a shortcut deletes the source, or that deleting content through it is harmless.
- Expecting a shortcut to snapshot data. It is live, so source changes are visible.
- Forgetting that shortcut data is not copied, so the target's availability and egress cost still matter.
For the exam
- Shortcuts avoid copying; they appear as folders and behave like symbolic links.
- Tables shortcuts: top level only. Files shortcuts: any level.
- In a KQL database, query with
external_table(). - Delete the shortcut: target stays. Delete content through it: target content goes too.
- Caching (1 to 28 days) lowers egress for S3, GCS, S3-compatible and gateway shortcuts.
- The most restrictive of shortcut and target permissions wins.