Microsoft Fabric RunNotebook

Microsoft Fabric RunNotebook

Certified

Run a Microsoft Fabric Notebook

Submits a Fabric Notebook job using the item job scheduler API and optionally waits for completion. Defaults: wait=true, pollFrequency=PT5S, timeout=PT1H.

yaml
type: io.kestra.plugin.microsoft.fabric.data.engineering.RunNotebook
yaml
id: fabric_run_notebook
namespace: company.team

tasks:
  - id: run_notebook
    type: io.kestra.plugin.microsoft.fabric.data.engineering.RunNotebook
    tenantId: "{{ secret('FABRIC_TENANT_ID') }}"
    clientId: "{{ secret('FABRIC_CLIENT_ID') }}"
    clientSecret: "{{ secret('FABRIC_CLIENT_SECRET') }}"
    workspaceId: "your-workspace-id"
    notebookId: "your-notebook-item-id"
    parameters:
      input_path: "abfss://workspace@onelake.dfs.fabric.microsoft.com/lakehouse/Files/input.csv"
Properties

Notebook ID

Microsoft Fabric Notebook 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.

Default{}

Execution parameters

Key/value parameters passed to the job execution

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

DefaultPT5S

Poll frequency

Interval between status checks when wait=true

Tenant ID

Azure Active Directory tenant ID for authentication

DefaultPT1H

Timeout

Maximum time to wait for completion; throws TimeoutException when exceeded

Defaulttrue

Wait for completion

Poll until the job reaches a terminal state; returns jobInstanceId immediately when false

Job instance ID

Unique ID of the notebook job instance

Final status

Terminal status of the notebook job