run_refresh
Trigger, monitor, and optionally wait for a Power BI dataset refresh; returns completion status, duration, and error details.
Instructions
Trigger, monitor, and optionally wait for a Power BI dataset refresh.
Use this tool when the user asks to:
Refresh data in a published Power BI semantic model.
Check the completion status of a refresh operation.
Perform full, automatic, or data-only refreshes.
Args:
workspace_id: Fabric / Power BI workspace ID (UUID).
dataset_id: Dataset / semantic model ID (UUID).
refresh_type: "full", "automatic", "data_only", "calculate", or "clearValues".
wait: Whether to poll and wait for the refresh to complete before returning.
timeout_s: Maximum wait time in seconds (default: 1800).
auth_mode: "interactive" or "service_principal". When omitted,
PBI_AUTH_MODE is used, falling back to "interactive".
tenant_id: Azure AD tenant ID.
client_id: Azure AD client ID.
dry_run: When True (default) no refresh is triggered and status is
"DryRun". Pass dry_run=False to actually refresh.
Returns: Dict with refresh status, duration, error details, and rollback status if applicable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| dry_run | No | ||
| auth_mode | No | ||
| client_id | No | ||
| tenant_id | No | ||
| timeout_s | No | ||
| dataset_id | Yes | ||
| refresh_type | No | full | |
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||