← ClaudeAtlas

power-bi-deploymentlisted

Use for TMDL snapshot/diff/restore, XMLA push to Premium/Fabric, multi-stage pipeline orchestration, service principal and device-flow auth, and environment promotion workflows. Triggers on: "deploy", "promote", "push to service", "XMLA", "Fabric", "Premium", "pbi deploy", "pbi snapshot", "pbi env", "pbi database", "deployment pipeline", "dev to prod", "rollback", "TMDL diff", "service principal", "managed identity", "environment promotion". Do NOT trigger for local Desktop model editing (→ power-bi-modeling) or governance gate setup (→ power-bi-governance).
mudassir09/pbi-enterprise-cli · ★ 0 · AI & Automation · score 70
Install: claude install-skill mudassir09/pbi-enterprise-cli
# power-bi-deployment XMLA deployment, model snapshots, multi-environment promotion, and CI/CD pipelines. ## Quick Reference ```bash # Snapshot and rollback pbi snapshot create --label before-refactor pbi snapshot list pbi snapshot diff 20260531_142300_before-refactor pbi snapshot restore 20260531_142300_before-refactor --confirm # XMLA deployment pbi deploy push --workspace "Sales-PROD" --dataset "Sales Model" pbi deploy push --connection fabric-prod --dry-run pbi deploy status --workspace "Sales-PROD" # TMDL export/import pbi database export-tmdl ./tmdl/ pbi database import-tmdl ./tmdl/ # Environment management pbi connections add # interactive wizard pbi env list pbi env use fabric-dev pbi env diff fabric-dev fabric-prod # compare two environments pbi env promote fabric-dev fabric-prod --confirm # Auth setup pbi connections add --type xmla \ --endpoint "powerbi://api.powerbi.com/v1.0/myorg/SalesPROD" \ --auth service-principal \ --tenant-id "$TENANT_ID" \ --client-id "$CLIENT_ID" \ --client-secret "$CLIENT_SECRET" ``` --- ## Worked Example 1: Safe deploy with snapshot and rollback guard ```bash # 1 — Snapshot before any changes pbi snapshot create --label pre-deploy-$(date +%Y%m%d) # 2 — Validate governance before push pbi --backend mock govern check --fail-on error # 3 — Dry-run deployment pbi deploy push --connection fabric-prod --dry-run # 4 — Real deployment pbi deploy push --connection fabric-prod # 5 —