promote_in_pipeline
Promote items across Fabric Deployment Pipeline stages, from dev to test or prod, and run pre-promotion quality gates before moving them. Validate stages with a dry run before promoting live artifacts.
Instructions
Promote artifacts across Microsoft Fabric Deployment Pipeline stages.
Use this tool when the user asks to:
Promote or move items between Fabric deployment stages (e.g. dev to test, test to prod).
Run pre-promotion quality gates before moving items.
Args: pipeline_id: Fabric deployment pipeline ID (UUID). source_stage: Source stage ("dev", "test", "prod"). target_stage: Target stage ("test", "prod"). items: Optional list of specific item IDs to promote. Promotes all if omitted. quality_gates_json: Optional list/JSON of quality gates to run before promotion. pbip_path: Optional PBIP directory for audit quality gate. baseline_path: Optional DAX regression baseline JSON for regression quality gate. auth_mode: Optional auth mode ("interactive", "service_principal", "managed_identity"). tenant_id: Optional Azure AD tenant ID. client_id: Optional Azure AD client ID. dry_run: If True (DEFAULT), validate stages and gate checks without triggering actual promotion. Pass dry_run=False explicitly to promote for real — this moves live artifacts between stages. fabric_client: Optional injected bridge/client (for testing).
Returns: Dict with promotion status, gate outcomes, and affected items.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pipeline_id": "<pipeline_id>"
},
"name": "promote_in_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| dry_run | No | ||
| auth_mode | No | ||
| client_id | No | ||
| pbip_path | No | ||
| tenant_id | No | ||
| pipeline_id | Yes | ||
| source_stage | No | dev | |
| target_stage | No | test | |
| baseline_path | No | ||
| fabric_client | No | ||
| quality_gates_json | No | [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||