
Microsoft Fabric Upload
CertifiedUpload a file to Microsoft Fabric OneLake
Microsoft Fabric Upload
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.
type: io.kestra.plugin.microsoft.fabric.onelake.UploadExamples
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
filePath *Requiredstring
File path
Destination path within the item's Files directory (leading slash is stripped)
from *Requiredstring
Source URI
Kestra internal storage URI of the file to upload
Pebble expression referencing an Internal Storage URI e.g. {{ outputs.mytask.uri }}.
itemId *Requiredstring
Item ID
Lakehouse or other Fabric item GUID within the workspace
workspaceId *Requiredstring
Workspace ID
Microsoft Fabric workspace GUID
clientId string
Client ID
Service principal client (application) ID
clientSecret string
Client Secret
Service principal client secret. When both clientId and clientSecret are provided, service principal authentication is used; otherwise DefaultAzureCredential is used.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
tenantId string
Tenant ID
Azure Active Directory tenant ID for authentication
Outputs
uri string
OneLake URI
ABFSS URI of the uploaded file in OneLake
Metrics
file.size counter
Size of the uploaded file in bytes