> ## Documentation Index
> Fetch the complete documentation index at: https://docs.noclick.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OneLake

> Connect OneLake to your workflows: 34 operations across 6 categories.

The OneLake node adds OneLake operations to your workflows. Add it on the canvas or ask the AI builder for it by name, then pick an operation and fill in its fields.

OneLake also includes 1 trigger operation (marked in the tables below) that can start a workflow when something happens in OneLake.

<Note>
  You can wire the OneLake node into an AI agent as a tool provider: the agent calls the operations you allow. See [Agent tools](/agents/tools).
</Note>

## Credentials

Connect OneLake under **Credentials** in the node settings. See [Connecting credentials](/credentials/connecting) for the general flow.

Sign in with your OneLake account when prompted; no keys to copy.

Connect your Microsoft account with access to a Fabric workspace. OneLake uses Microsoft Entra ID (Azure AD) OAuth 2.0; no API key is available.

[Get your credentials here](https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade).

NoClick requests the following permissions:

* `https://storage.azure.com/user_impersonation`
* `https://api.fabric.microsoft.com/OneLake.ReadWrite.All`
* `offline_access`

## Operations

### Data access

| Operation                          | ID                                  | Description                                                                             | Trigger |
| ---------------------------------- | ----------------------------------- | --------------------------------------------------------------------------------------- | ------- |
| **Create/Update Data Access Role** | `create_or_update_data_access_role` | Create or update a single OneLake data access role (the only API to set OneLake perms). |         |
| **Delete Data Access Role**        | `delete_data_access_role`           | Delete a OneLake data access role.                                                      |         |
| **Get Data Access Role**           | `get_data_access_role`              | Get a single OneLake data access role's rules and members.                              |         |
| **List Data Access Roles**         | `list_data_access_roles`            | List OneLake data access (RBAC) roles for an item, the only API to read them.           |         |

### Filesystem

| Operation              | ID                   | Description                                                                 | Trigger |
| ---------------------- | -------------------- | --------------------------------------------------------------------------- | ------- |
| **Append to File**     | `append_file`        | Upload bytes into a created file at a given offset.                         |         |
| **Check Access**       | `check_access`       | Check whether the caller has r/w/x access to a path (no data read).         |         |
| **Create Directory**   | `create_directory`   | Create a folder inside a managed item (e.g. a lakehouse Files folder).      |         |
| **Create File**        | `create_file`        | Create a new (empty) file resource to append to.                            |         |
| **Delete Path**        | `delete_path`        | Delete a user-created file or folder.                                       |         |
| **Flush File**         | `flush_file`         | Commit appended bytes, finalizing the upload.                               |         |
| **Get Access Control** | `get_access_control` | Read the Fabric permissions mapped to a POSIX x-ms-acl for a path.          |         |
| **Get Properties**     | `get_properties`     | Return metadata (size, ETag, last-modified) for a file or directory.        |         |
| **Lease Path**         | `lease_path`         | Acquire, renew, change, release, or break a lease on a file (concurrency).  |         |
| **List Blobs**         | `list_blobs`         | List blobs under a workspace container via the Blob endpoint (flat/prefix). |         |
| **List Paths**         | `list_paths`         | List files and folders under a workspace or item path (DFS filesystem).     |         |
| **Read File**          | `read_file`          | Download file content.                                                      |         |
| **Rename / Move Path** | `rename_path`        | Move or rename a user-created file or folder within allowed paths.          |         |
| **Set Properties**     | `set_properties`     | Update user-defined x-ms-properties metadata on a path.                     |         |

### Settings

| Operation                | ID             | Description                                          | Trigger |
| ------------------------ | -------------- | ---------------------------------------------------- | ------- |
| **Get OneLake Settings** | `get_settings` | Read workspace-level OneLake settings (Fabric Core). |         |

### Shortcuts

| Operation                   | ID                      | Description                                                             | Trigger |
| --------------------------- | ----------------------- | ----------------------------------------------------------------------- | ------- |
| **Create Shortcut**         | `create_shortcut`       | Create a shortcut to OneLake, ADLS Gen2, S3, GCS, Blob, Dataverse, etc. |         |
| **Create Shortcuts (Bulk)** | `create_shortcuts_bulk` | Create many shortcuts in one call (Fabric Core bulk shortcut API).      |         |
| **Delete Shortcut**         | `delete_shortcut`       | Delete a shortcut (does not delete the target data).                    |         |
| **Get Shortcut**            | `get_shortcut`          | Retrieve a single shortcut definition.                                  |         |
| **List Shortcuts**          | `list_shortcuts`        | List all shortcuts in an item.                                          |         |
| **Reset Shortcut Cache**    | `reset_shortcut_cache`  | Clear cached files for shortcuts in the workspace.                      |         |

### Tables

| Operation                   | ID                        | Description                                                           | Trigger |
| --------------------------- | ------------------------- | --------------------------------------------------------------------- | ------- |
| **Get Delta Table**         | `get_delta_table`         | Get Delta table metadata details (Unity Catalog API).                 |         |
| **Get Iceberg Config**      | `get_iceberg_config`      | Get the Iceberg REST Catalog config for an item (returns the prefix). |         |
| **Get Iceberg Namespace**   | `get_iceberg_namespace`   | Load metadata (location, properties) for an Iceberg namespace.        |         |
| **Get Iceberg Table**       | `get_iceberg_table`       | Load Iceberg table metadata.                                          |         |
| **List Delta Schemas**      | `list_delta_schemas`      | List schemas via the Unity Catalog-compatible Delta API.              |         |
| **List Delta Tables**       | `list_delta_tables`       | List Delta tables in a schema (Unity Catalog API).                    |         |
| **List Iceberg Namespaces** | `list_iceberg_namespaces` | List schemas (namespaces) in an item via the Iceberg REST Catalog.    |         |
| **List Iceberg Tables**     | `list_iceberg_tables`     | List tables within a schema via the Iceberg REST Catalog.             |         |

### Other

| Operation       | ID            | Description                                          | Trigger |
| --------------- | ------------- | ---------------------------------------------------- | ------- |
| **On New File** | `on_new_file` | Trigger when a new file appears under a OneLake path | Yes     |
