Table of Contents
- What Changed: Power Automate 2026 Wave 1 and the Agentic Desktop
- Self-Healing Desktop Flows: Architecture and Mechanics
- How Self-Healing Actually Works at Runtime
- Admin Setup: Enabling Self-Healing in Your Environment
- Agent-Assisted Authoring: AI in the Design Loop
- Copilot Studio Integration: Bidirectional Agent-RPA Orchestration
- Process Mining Gets an MCP Server
- Video Logs for Unattended Runs: See What the Bot Saw
- Maker Productivity: Flowchart View, Collaboration, and Version Control
- How Power Automate’s Self-Healing Compares to UiPath and Automation Anywhere
- Production Readiness Checklist
- Frequently Asked Questions
- Key Takeaways
- References
Every RPA team has a version of this story: a desktop flow that ran flawlessly for months suddenly dies at 2 AM because someone at Salesforce renamed a button from “Save” to “Save Record.” The selector breaks. The flow throws an Element not found error. The on-call engineer gets paged. The fix takes five minutes — but the incident report, the root cause analysis, and the lost trust take weeks.
- Table of Contents
- What Changed: Power Automate 2026 Wave 1 and the Agentic Desktop
- Self-Healing Desktop Flows: Architecture and Mechanics
- How Self-Healing Actually Works at Runtime
- Admin Setup: Enabling Self-Healing in Your Environment
- Step 1: Enable Anthropic as a Subprocessor
- Step 2: Power Platform Admin Configuration
- Step 3: Per-Action Enablement in Desktop Flows
- Agent-Assisted Authoring: AI in the Design Loop
- Copilot Studio Integration: Bidirectional Agent-RPA Orchestration
- Process Mining Gets an MCP Server
- Video Logs for Unattended Runs: See What the Bot Saw
- Maker Productivity: Flowchart View, Collaboration, and Version Control
- Flowchart View
- Real-Time Collaboration
- Version Control
- Centralized Credential Management and Machine Templates
- How Power Automate’s Self-Healing Compares to UiPath and Automation Anywhere
- Production Readiness Checklist
- Frequently Asked Questions
- Does Power Automate self-healing work with all desktop flow actions?
- What AI models power Power Automate self-healing?
- Is Power Automate self-healing available in government clouds?
- Can Copilot Studio agents call Power Automate desktop flows?
- What is the Power Automate Process Mining MCP server?
- Key Takeaways
- References
Microsoft’s answer to this problem arrived in the Power Automate 2026 Release Wave 1, and it’s not a better retry loop. It’s an AI agent — specifically, a pair of large language models (GPT-4.1 mini and Claude Sonnet 4.5) that watch your desktop flow fail, capture a screenshot of what the screen actually looks like, and attempt to find the correct UI element on their own. Microsoft calls it self-healing. If it works as designed, it eliminates the single most common failure mode in UI automation: brittle selectors.
But self-healing is just one piece of a much larger shift. The 2026 Wave 1 release transforms Power Automate’s desktop flows from a traditional RPA tool into something closer to an agentic automation platform — with AI-assisted flow authoring, bidirectional integration between Copilot Studio agents and desktop flows, a Model Context Protocol (MCP) server for process mining, object-centric process mining with Microsoft Fabric integration, and video logs that record the last 60 seconds before a failure so you can literally watch what went wrong.
This guide breaks down every major capability, explains the architecture behind self-healing, walks through the admin setup, and compares Power Automate’s approach to what UiPath and Automation Anywhere are doing with similar problems. If you run desktop automations at scale — or you’re evaluating whether to start — this is the feature set that changes the calculus.
What Changed: Power Automate 2026 Wave 1 and the Agentic Desktop
The 2026 Release Wave 1 covers features shipping between April and September 2026. For desktop flows specifically, the release focuses on four investment areas that collectively turn Power Automate into an AI-augmented RPA platform:
| Investment Area | What It Does | Status (Aug 2026) |
|---|---|---|
| Smarter Automation | Self-healing AI agents for UI/web actions; Copilot Studio-powered desktop flow calls | Preview (self-healing); GA (Copilot Studio actions) |
| Maker Productivity | Agent-assisted authoring, flowchart view, real-time collaboration, version control, credential management, machine templates | Rolling GA (April–September) |
| Process Intelligence | Object-centric process mining (GA May 2026), Process Intelligence Studio, MCP server, Copilot Studio agents for process insights | GA |
| Enterprise Governance | Consolidated licensing/usage reporting, expanded inventory details, flow dependency visibility | GA |
The pattern here is unmistakable: Microsoft is embedding AI agents at every stage of the desktop automation lifecycle — design, execution, failure recovery, and process discovery. This is not a chatbot bolted onto an RPA tool. It’s agentic AI woven into the runtime itself.
Self-Healing Desktop Flows: Architecture and Mechanics
Self-healing in Power Automate for desktop is an AI-powered capability that helps desktop flows recover from UI and browser automation failures caused by missing or changed UI elements. The premise is straightforward: instead of stopping the flow when a selector no longer matches, the system uses computer vision and language models to find the element the flow was trying to interact with.
What makes this architecturally interesting is the model stack. According to Microsoft’s official documentation, self-healing uses two large language models in combination: GPT-4.1 mini and Claude Sonnet 4.5. This is one of the first production examples of a major platform vendor using a multi-model pipeline for RPA error recovery — and the choice is deliberate. GPT-4.1 mini handles fast initial assessment, while Claude Sonnet 4.5 (an Anthropic model running as a Microsoft subprocessor) provides the visual reasoning needed to match UI elements from screenshots.
The self-healing agent is not a general-purpose automation fixer. It’s scoped to a specific, high-frequency failure mode:
- Element not found errors — when a UI element’s selector no longer matches because the application changed its identifiers, class names, or structure
- Window not found errors — when the target window exists on the main screen but its title or properties have changed
It does not handle drag-and-drop failures, actions that interact with multiple elements, or window/screen handling actions. This scoping is important — Microsoft is being precise about where AI can reliably substitute for deterministic matching, rather than making sweeping claims about “AI-powered everything.”
How Self-Healing Actually Works at Runtime
When a supported UI or browser automation action fails with an Element not found error, Power Automate for desktop evaluates error handling in a strict sequence:
Retry policy → Self-healing → Set variable / Run subflow rules → Continue flow run / Throw error
Self-healing only activates after the standard retry policy has been exhausted. Here’s what happens when it fires:
- Context capture: The agent captures a screenshot of the missing UI element’s expected location, the title of its parent window, and a full desktop screenshot. This gives the models both local and global visual context.
- AI element matching: The two LLMs analyze the captured context to identify the most likely intended element on the current screen. They compare the original selector’s description against what’s actually visible.
- Selector recapture: If a match is found, the agent recaptures the element’s selector — generating a new, working selector that matches the element’s current state.
- Flow continuation: The action executes against the newly identified element, and the flow continues. The admin receives a notification that self-healing was invoked.
- Fallback: If the AI can’t confidently identify the element, normal error handling resumes (set variable, run subflow, or throw error).
The runtime logs include a property called repairWithAIInfo that records whether a repair attempt was made, whether it succeeded or failed, and the AI-generated selector that was used. This audit trail is critical for governance — you need to know when and where your flows are deviating from their designed selectors.
One important caveat from the documentation: “Because self-healing uses generative AI, it might occasionally identify an unintended UI element.” This is the honest tradeoff. Self-healing trades a guaranteed failure (flow stops) for a probabilistic recovery (flow continues, but might click the wrong button). For most organizations, that’s a favorable trade — but it means you need monitoring in place to catch the occasional misidentification.
Admin Setup: Enabling Self-Healing in Your Environment
Self-healing isn’t turned on by default. It requires configuration at three levels: the Microsoft 365 admin center, the Power Platform admin center, and within each desktop flow. Here’s the complete setup path:
Step 1: Enable Anthropic as a Subprocessor
Because self-healing uses Claude Sonnet 4.5 (an Anthropic model), you must explicitly enable Anthropic as an AI subprocessor:
- In the Microsoft 365 admin center, navigate to Copilot → Settings, select AI providers operating as Microsoft subprocessors, and enable the Anthropic provider
- Microsoft enables Anthropic models by default for most commercial cloud customers (excluding EU/EFTA and UK)
- Anthropic models are not available in government clouds (GCC, GCC High, DoD) or sovereign clouds
Step 2: Power Platform Admin Configuration
- In the Power Platform admin center, go to Copilot → Settings, expand External models under Power Platform, and enable Anthropic at the environment or environment group level
- Navigate to Manage → Environments, select your environment, find the Generative AI features card, and enable Move data across regions (not needed for US regions)
- Under Copilot → Settings → Power Automate section, enable Copilot in Power Automate
Step 3: Per-Action Enablement in Desktop Flows
- Requires Power Automate for desktop version 2.66 or higher
- Self-healing is enabled per action, not globally — select a supported UI or browser automation action, open its Error handling settings, and toggle Self-healing (Preview) on
- A visual indicator appears on actions where self-healing is available and enabled
The per-action enablement is a smart design choice. It lets teams enable self-healing on high-value, change-prone actions (like clicking buttons in third-party SaaS apps that update frequently) while keeping deterministic behavior on actions where precision is non-negotiable (like entering data into regulated systems).
Agent-Assisted Authoring: AI in the Design Loop
Self-healing addresses failures at runtime. But Microsoft is also putting AI agents into the design phase of desktop flows through agent-assisted authoring.
Desktop flow makers now get AI assistance that does three things during the authoring process:
- Optimizes flow design: The agent reviews the flow structure and suggests improvements — consolidating redundant steps, reordering actions for efficiency, and identifying unnecessary loops
- Suggests improvements: Based on the flow’s context (which applications it interacts with, what data it processes), the agent recommends actions or patterns the maker might not have considered
- Identifies potential failure points: Before the flow ever runs in production, the agent flags actions that are likely to break — selectors that depend on dynamic IDs, timing-sensitive sequences, and actions that lack error handling
This shifts the AI value proposition from “fix it when it breaks” to “help me build it right the first time.” For organizations scaling their RPA programs, this is arguably more valuable than self-healing — prevention beats cure, especially when you’re managing hundreds of desktop flows across a team of citizen developers who may not have deep automation engineering experience.
Copilot Studio Integration: Bidirectional Agent-RPA Orchestration
One of the most architecturally significant changes in 2026 Wave 1 is the bidirectional integration between Copilot Studio agents and Power Automate desktop flows. This isn’t a simple trigger mechanism — it’s a two-way orchestration layer that lets AI agents call RPA and RPA call AI agents within the same process.
Direction 1: Agents Call Desktop Flows
Copilot Studio agents can now call desktop flows directly for tasks that require precise, step-by-step UI execution. The agent handles the reasoning — understanding what needs to happen and why — while the desktop flow handles the deterministic execution against a specific application’s UI.
This matters because large language models are good at reasoning and terrible at pixel-precise UI interaction in legacy desktop applications. Desktop flows are the opposite: terrible at reasoning and excellent at repeatable UI execution. The integration lets each component do what it’s best at.
Direction 2: Flows Call Agents
The Execute Agent action lets you trigger a Copilot Studio agent mid-process within a Power Automate flow. You pass the agent context, it reasons about the situation, and it returns a result that the flow can act on.
Use cases include: dynamically routing a process based on unstructured input (an agent reads a customer email and decides which workflow branch to follow), enriching data mid-flow (an agent extracts key entities from a document before the flow enters them into a form), and handling exceptions that require judgment rather than rules.
Key Constraints
Two practical constraints to know before architecting around this integration:
- 100-second synchronous timeout: Agent-triggered flows in Copilot Studio have a hard limit of 100 seconds for synchronous responses. If your desktop flow takes longer, you’ll hit a
FlowActionTimedOuterror. Design long-running desktop flows as asynchronous with callback patterns. - Solution-based deployment required: Flows must be created inside a Power Platform Solution (not standalone) to reliably surface when called from Copilot Studio agents. Standalone flows frequently fail to show up in the agent’s flow picker.
For organizations transitioning from traditional RPA to agentic automation, this integration is the on-ramp. You don’t have to rebuild your desktop flows as agent logic — you wrap them with an agent layer that handles the reasoning, and call the existing flows for execution.
Process Mining Gets an MCP Server
The 2026 Wave 1 release includes a Process Mining MCP server — a specialized implementation of the Model Context Protocol that exposes process mining analytics to AI agents and conversational applications.
What this means practically: a Copilot Studio agent (or any MCP-compatible client) can query your process mining data using natural language. Instead of training business analysts to navigate the process mining UI, you can ask an agent “which steps in our purchase-to-pay process have the highest rework rate?” and get an answer grounded in actual process data.
This sits alongside object-centric process mining, which reached general availability in May 2026. Traditional process mining maps one case to one sequence of activities. Object-centric process mining lets one event belong to multiple objects and object types, preserving the full context of interconnected processes. Combined with the MCP server, this creates a feedback loop: process mining discovers inefficiencies, agents surface them to stakeholders in natural language, and desktop flows (or Copilot Studio agents) execute the fixes.
The Process Intelligence Studio — generally available since June 2026 — provides the workspace for this analysis, with custom KPIs, flexible layouts, and native Microsoft Fabric integration for enterprise-wide analytics.
Video Logs for Unattended Runs: See What the Bot Saw
When a desktop flow fails on a virtual machine running unattended, you’ve traditionally had nothing but log entries to debug with. The 2026 Wave 1 introduces video logs: the platform automatically records the last 60 seconds of the machine’s screen before a failure and saves the recording.
The videos include embedded closed captions based on the executed actions, so you can see exactly which step was being performed at the moment of failure. Videos are stored locally on the machine (at %localappdata%\Microsoft\Power Automate Desktop\VideoLogs) and are also stored in Dataverse and surfaced directly in the flow run details page in the Power Automate portal.
This is a deceptively powerful feature. The most frustrating RPA failures are the ones where the logs say “Element not found” but don’t tell you why — was the application in an unexpected state? Was a popup blocking the element? Was the screen resolution different? A 60-second video answers all of those questions instantly. For teams running hundreds of unattended bots across virtual machines, this alone can cut mean time to resolution (MTTR) by half or more.
Maker Productivity: Flowchart View, Collaboration, and Version Control
The 2026 Wave 1 release fills several long-standing gaps in Power Automate’s desktop flow development experience:
Flowchart View
Desktop flows now have a flowchart visualization that renders the flow’s logic as a visual diagram rather than a linear list of actions. This helps makers — especially less experienced ones — understand branching logic, loops, and error handling paths at a glance. It’s a feature that UiPath has had since its early days, and its absence in Power Automate has been a frequent complaint from teams evaluating the platform.
Real-Time Collaboration
Multiple makers can now work on the same desktop flow simultaneously, similar to how multiple users can co-edit a document in Word or a canvas app in Power Apps. Changes are synced in real time with conflict resolution. This eliminates the “check out / check in” friction that slowed down team-based desktop flow development.
Version Control
Desktop flows now have proper version history: each time you save, a version is created with metadata about who made the changes and when. You can compare versions, revert to a previous state, and maintain an audit trail of flow modifications. This is essential for enterprise governance and makes desktop flows production-viable for regulated industries.
Centralized Credential Management and Machine Templates
Credentials used by desktop flows are now managed centrally rather than being embedded in individual flows — reducing security risk and simplifying rotation. Machine templates let administrators pre-configure virtual machine environments for desktop flow execution, ensuring consistency across the fleet.
How Power Automate’s Self-Healing Compares to UiPath and Automation Anywhere
Power Automate isn’t the only RPA platform tackling selector fragility. Here’s how the three major players approach the problem:
| Capability | Power Automate (2026 Wave 1) | UiPath | Automation Anywhere |
|---|---|---|---|
| Self-Healing Approach | Multi-model AI (GPT-4.1 mini + Claude Sonnet 4.5); screenshot-based element matching at runtime | Autopilot coding agent for flow repair; AI Computer Vision for element identification; fuzzy selector matching | Enterprise UI Agents with computer use; Process Reasoning Engine (PRE) for contextual understanding |
| Scope | Per-action opt-in; Element not found / Window not found errors only | Broader — includes AI Computer Vision for non-standard UIs, Document Understanding for unstructured data | Goal-oriented — PRE reasons about business goals, not just UI elements |
| Agent Integration | Bidirectional Copilot Studio ↔ desktop flow; MCP server for process mining | Autopilot agent in Studio; Agent Builder for custom agents; Orchestrator-managed | Universal orchestration across Salesforce, ServiceNow, SAP; AAI Code low-code platform |
| Licensing | Included with organization premium accounts; no additional cost for self-healing | Included in Enterprise license; Autopilot features in Pro+ tiers | Part of APA platform; pricing varies by capability tier |
| Unique Strength | Deepest Microsoft 365/Azure/Fabric integration; video failure logs; real-time collaboration on desktop flows | Largest activity library; strongest document processing; most mature enterprise deployment tooling | Strongest cross-platform orchestration; most aggressive agentic vision (Autonomous Enterprise) |
The architectural difference worth noting: Power Automate’s self-healing is a runtime fallback — it fires when a specific action fails and attempts to fix it on the fly. UiPath’s approach is broader, with AI Computer Vision available as a first-class selector strategy (not just a fallback). Automation Anywhere’s Process Reasoning Engine operates at a higher abstraction level, reasoning about business goals rather than individual UI elements.
For organizations already invested in the Microsoft ecosystem (Copilot Studio, Microsoft Fabric, Azure), Power Automate’s approach has the natural advantage of tight integration. For organizations with complex, multi-vendor environments, UiPath and Automation Anywhere offer broader cross-platform orchestration.
Production Readiness Checklist
Before enabling self-healing in production, walk through this checklist:
| # | Item | Why It Matters |
|---|---|---|
| 1 | Classify actions by risk tier: enable self-healing on change-prone, non-critical actions first | Self-healing uses generative AI and can occasionally misidentify elements — start where the cost of a misidentification is low |
| 2 | Enable repairWithAIInfo logging and route logs to your SIEM |
You need visibility into when and where self-healing fires to detect patterns and catch misidentifications |
| 3 | Verify Anthropic subprocessor enablement with your compliance/legal team | Self-healing sends screenshots (which may contain sensitive data) to Anthropic’s models running as Microsoft subprocessors — confirm this meets your data residency requirements |
| 4 | Set up video log retention policies | 60-second screen recordings of unattended runs may capture sensitive application data — define retention and access controls |
| 5 | Create Copilot Studio ↔ desktop flow integrations inside Solutions, not standalone | Standalone flows frequently fail to surface in the Copilot Studio flow picker |
| 6 | Design long-running desktop flows with async callback patterns | The 100-second synchronous timeout on agent-triggered flows will break long automations if not handled |
| 7 | Upgrade to Power Automate for desktop v2.66+ | Self-healing requires this minimum version |
| 8 | Confirm regional availability: self-healing is not available in GCC, GCC High, DoD, or sovereign clouds | Government and sovereign cloud customers cannot use self-healing in its current preview |
Frequently Asked Questions
Does Power Automate self-healing work with all desktop flow actions?
No. Self-healing currently supports only specific UI and browser automation actions that interact with a single UI element — such as clicking a button or selecting a checkbox. It does not apply to drag-and-drop actions, window/screen handling actions, or actions that interact with multiple elements. It only activates on “Element not found” and “Window not found” errors.
What AI models power Power Automate self-healing?
Self-healing uses two large language models in combination: GPT-4.1 mini (from OpenAI) and Claude Sonnet 4.5 (from Anthropic, operating as a Microsoft subprocessor). The dual-model approach provides both fast initial assessment and strong visual reasoning for matching UI elements from screenshots.
Is Power Automate self-healing available in government clouds?
No. Self-healing is not currently available in government clouds (GCC, GCC High, DoD) or sovereign clouds. The Anthropic models required for self-healing are not available in these environments. It is available for organization premium accounts in commercial cloud regions.
Can Copilot Studio agents call Power Automate desktop flows?
Yes. The 2026 Wave 1 release enables bidirectional integration: Copilot Studio agents can call desktop flows for precise UI execution, and desktop flows can call Copilot Studio agents for reasoning tasks using the Execute Agent action. Flows must be deployed inside a Power Platform Solution for reliable discovery by agents.
What is the Power Automate Process Mining MCP server?
The Process Mining MCP server is a specialized implementation of the Model Context Protocol that exposes process mining analytics to AI agents. It enables natural language queries against process mining data through MCP-compatible clients like Copilot Studio, letting business users ask questions about process performance without navigating the process mining UI directly.
Key Takeaways
- Self-healing uses a dual-model AI stack (GPT-4.1 mini + Claude Sonnet 4.5) to recover from selector failures at runtime — the most common cause of desktop flow breakage.
- It’s a per-action opt-in, not a global toggle — enable it selectively on change-prone actions while keeping deterministic behavior where precision matters.
- Screenshots are sent to AI models for element matching, so verify data residency and compliance requirements before enabling in environments with sensitive screen content.
- Copilot Studio ↔ desktop flow integration is bidirectional — agents can call desktop flows for UI execution, and flows can call agents for reasoning. This is the on-ramp from traditional RPA to agentic automation.
- The Process Mining MCP server creates a closed loop: discover inefficiencies through process mining, surface them via agents, and fix them with desktop flows.
- Video logs for unattended runs record the last 60 seconds before failure with action-labeled closed captions — cutting debugging time dramatically.
- Agent-assisted authoring catches failure-prone patterns during design, shifting from reactive repair to proactive prevention.
- Power Automate’s approach favors deep Microsoft ecosystem integration over cross-platform breadth — ideal for organizations already built on Microsoft 365, Azure, and Fabric.
References
- Microsoft Learn — Self-healing (preview) in Power Automate for desktop
- Microsoft Learn — Power Automate 2026 Release Wave 1 Overview
- Microsoft Learn — Process Mining MCP Server Reference
- Microsoft Learn — Capture Video Logs in Unattended Runs
- Microsoft Learn — Call Copilot Studio Agents from Power Automate
- Cloud Wars — Microsoft Unveils Agentic AI Push Across D365, Power Platform (2026)
- Synapx — How to Use Power Automate AI Agent Authoring and Self-Healing Flows
- HubSite365 — Power Automate 2026 Wave 1 Highlights
- 365Mechanix — Power Platform 2026 Wave 1 Complete Guide
- FlowDevs — Microsoft Is Finally Tackling the Most Fragile Part of Small-Business Automation
Enjoyed this deep dive? Share it with your automation team, and check back for our upcoming analysis of how every major RPA vendor is approaching self-healing AI in 2026.







