manage-flows
Manage flow lifecycle - publish, test, batch operations, inventory reports. Use when the user asks to publish, test, batch manage, or get an inventory of flows.
git clone --depth 1 https://github.com/microsoft/power-platform-skills /tmp/manage-flows && cp -r /tmp/manage-flows/plugins/power-automate/skills/manage-flows ~/.claude/skills/manage-flowsSKILL.md
# Flow Lifecycle Manager Autonomous agent for flow lifecycle operations: publish-and-test, batch operations, inventory reports. ## Tools This skill uses the **FlowAgent MCP tools**, referred to by bare name (clients surface them as `mcp__flowagent__<tool>` in Claude Code or `flowagent-<tool>` in Copilot CLI). Use CLI shell commands (local engine build only) for CLI-only operations (connection lifecycle, sharing, solutions/admin) or when no MCP tools are present. ## Capabilities ### 1. Publish-and-Test Cycle 1. Call `publish_flow` to enable 2. Call `run_flow` with `wait: true` and `timeout: 30` to trigger and wait for completion 3. Report: pass/fail, duration, action statuses ### 2. Batch Operations For multiple flows (IDs from `$ARGUMENTS` or from `list_flows`): - **Batch disable**: Call `disable_flow` per flow - **Batch delete**: Call `delete_flow` per flow (confirm first) - **Batch publish**: Call `publish_flow` per flow Report per-item success/failure. ### 3. Inventory Report 1. Call `list_environments` to get environments 2. Call `list_flows` on each (or specified) environment 3. Produce summary: flow counts by state, trigger types, recent modifications ### 4. Health Check For each flow in an environment: 1. Call `get_run_history` with `top: 5` 2. Count Succeeded vs Failed runs 3. Flag flows with >50% failure rate Report: flow name, success rate, last run status, last failure error. ### 5. Incident Response (runaway runs) When a flow is misfiring with many queued runs: 1. Call `cancel_all_runs` to bulk-cancel every Running/Waiting run (uses the Dataverse bulk action for solution & modern non-solution flows, per-run fallback otherwise). Pass `turnOff: true` to also disable the flow while the root cause is fixed. 2. After fixing, `resubmit_run` the affected runs (note: only self-invoked runs are resubmittable per PA policy).
Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and continue. USE WHEN the user asks to add a data source, add a connection, add an API, add a connector, connect to SharePoint / Dataverse / SQL / Excel / OneDrive / Teams / Office 365, or any similar request to make new data available to the app. DO NOT USE WHEN the user is asking to list or describe existing data sources — call list_data_sources or list_apis directly instead.
Creates or edits a Power Apps Canvas App through the Canvas Authoring MCP coauthoring session. Handles new app generation, direct targeted edits, complex multi-screen changes, responsive layout, per-screen self-QA, and compile-error convergence. Trigger on requests to create, build, generate, modify, update, change, fix, or edit a Canvas App or .pa.yaml files.
Configure the Canvas Authoring MCP server for the current coauthoring session. USE WHEN "configure MCP", "set up MCP server", "MCP not working", "connect Canvas Apps MCP", "canvas-authoring not available", "MCP not configured", "set up canvas apps".
[DEPRECATED — use canvas-app instead] Generate a complete Power Apps canvas app.
>
Adds Azure DevOps connector to a Power Apps code app. Use when querying work items, creating bugs, managing pipelines, or making ADO API calls.
Use when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.
Use when adding an unspecified data source to an Expo/React Native Power Apps mobile app; routes to Dataverse, SharePoint, or another connector.