Microsoft Fabric Upload

Microsoft Fabric Upload

Certified

Upload a file to Microsoft Fabric OneLake

Uploads a file from Kestra internal storage to OneLake using the ADLS Gen2 API. The file is placed at Files/{filePath} within the specified Lakehouse item.

yaml
type: io.kestra.plugin.microsoft.fabric.onelake.Upload
yaml
id: fabric_onelake_upload
namespace: company.team

tasks:
  - id: upload_file
    type: io.kestra.plugin.microsoft.fabric.onelake.Upload
    tenantId: "{{ secret('FABRIC_TENANT_ID') }}"
    clientId: "{{ secret('FABRIC_CLIENT_ID') }}"
    clientSecret: "{{ secret('FABRIC_CLIENT_SECRET') }}"
    workspaceId: "your-workspace-id"
    itemId: "your-lakehouse-item-id"
    filePath: "data/myfile.csv"
    from: "{{ outputs.previous_task.uri }}"
Properties

File path

Destination path within the item's Files directory (leading slash is stripped)

Source URI

Kestra internal storage URI of the file to upload

Item ID

Lakehouse or other Fabric item GUID within the workspace

Workspace ID

Microsoft Fabric workspace GUID

Client ID

Service principal client (application) ID

Client Secret

Service principal client secret. When both clientId and clientSecret are provided, service principal authentication is used; otherwise DefaultAzureCredential is used.

Reference (ref) of the pluginDefaults to apply to this task.

Tenant ID

Azure Active Directory tenant ID for authentication

OneLake URI

ABFSS URI of the uploaded file in OneLake

Size of the uploaded file in bytes