deploy_to_workspace
Publishes a Power BI .pbip project to a Fabric/Power BI workspace after pre-deploy quality gates, with optional scheduled daily refresh.
Instructions
Deploy a PBIP project to a Fabric/Power BI workspace with pre-deploy gates.
Use this tool when the user asks to:
Deploy, publish, or release a Power BI project (.pbip) to Microsoft Fabric or Power BI Service.
Run pre-deployment quality gates before publishing.
Schedule automatic daily dataset refreshes upon publication.
Args:
pbip_path: Local filesystem path to the root .pbip directory.
workspace_id: Target Fabric / Power BI workspace ID (UUID).
refresh_daily_hour: Daily UTC hour (0-23) for scheduled refresh (default: 6 AM UTC).
findings_json: Optional list or JSON string of pre-existing audit findings to evaluate.
gate_profile: Quality gate profile ("strict", "standard", "lenient").
auth_mode: "interactive" (browser login) 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) evaluates the gate and reports the planned
operations WITHOUT calling any Fabric API. Pass dry_run=False to
actually publish.
mock: If True, simulate deployment without calling external APIs.
Returns: Dict with deployment status, gate evaluation results, published item IDs, and refresh configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mock | No | ||
| dry_run | No | ||
| auth_mode | No | ||
| client_id | No | ||
| pbip_path | Yes | ||
| tenant_id | No | ||
| gate_profile | No | standard | |
| workspace_id | Yes | ||
| findings_json | No | [] | |
| refresh_daily_hour | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||