manage-flows

Manages Power Automate flow lifecycle operations including publishing, testing, batch actions, and inventory reports.

808|167|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/microsoft/power-platform-skills --skill manage-flows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manage-flows
Source: https://github.com/microsoft/power-platform-skills/tree/main/plugins/power-automate/skills/manage-flows
Command: npx skills add https://github.com/microsoft/power-platform-skills --skill manage-flows

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing many Power Automate flows manually through the portal is slow and error-prone, especially when publishing, testing, disabling, or auditing flows across multiple environments.

Core Features & Use Cases

  • Publish-and-Test Cycle: Publishes a flow, triggers a run, waits for completion, and reports pass/fail with duration and action statuses.
  • Batch Operations: Disables, deletes, or publishes multiple flows at once with per-item success/failure reporting.
  • Inventory & Health Reports: Lists flows across environments, summarizes counts by state and trigger type, and flags flows with failure rates above 50%.
  • Incident Response: Bulk-cancels runaway runs with cancel_all_runs, optionally disables the flow, and resubmits affected runs after fixes.
  • Use Case: An admin needs to audit all flows in three environments before a compliance review; the skill lists every flow, checks recent run history, and produces a health report flagging failing flows.

Quick Start

Ask the agent to publish and test a specific flow, or to generate an inventory and health report for all flows in a given environment.

Frequently Asked Questions about manage-flows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish and test a Power Automate flow automatically?

The skill calls publish_flow to enable the flow, then run_flow with wait and a 30-second timeout to trigger it and wait for completion. It reports pass/fail, duration, and individual action statuses.

How to disable or delete multiple Power Automate flows at once?

Provide flow IDs directly or let the skill gather them via list_flows, then it calls disable_flow, delete_flow, or publish_flow per flow. Deletion requires confirmation first, and results are reported per item.

How do I get an inventory report of flows across environments?

The skill calls list_environments, then list_flows on each environment, and summarizes flow counts by state, trigger types, and recent modifications into a single report.

Can I bulk-cancel stuck or runaway Power Automate flow runs?

Yes, cancel_all_runs bulk-cancels every Running or Waiting run using the Dataverse bulk action for solution and modern non-solution flows, with a per-run fallback otherwise. Pass turnOff: true to also disable the flow while fixing the root cause.

Why are some flow runs not resubmittable after cancellation?

Per Power Automate policy, only self-invoked runs can be resubmitted via resubmit_run. Runs triggered by external events or other flows cannot be resubmitted after cancellation.