Last updated: December 2, 2026
By ZapAI Team
Power Automate desktop flows are Microsoft’s answer to robotic process automation, and most CoE leads we talk to already have a few running somewhere. Usually on a spare PC under a desk. Usually signed in as someone who left last spring. This guide is for the IT and automation leads who now have to make that estate reliable, licensed and supportable, as part of a wider Microsoft Power Platform setup. We cover runtimes, machines, hosted bots, licensing, credentials, monitoring and the AI features, with every product fact checked against Microsoft Learn on December 2, 2026.
Power Automate desktop flows automate Windows and web apps by driving the screen, keyboard and mouse. You build them in Power Automate for desktop, then run them attended under a Premium user license or unattended on a machine with Process capacity. Hosted machines and hosted machine groups, licensed through Hosted Process, remove the hardware.
Desktop flows are the right tool for apps with no API, and the wrong tool for almost everything else. Most of the pain we clean up starts there.
What Are Power Automate Desktop Flows?
A desktop flow is a recorded or designed sequence of actions that Power Automate for desktop runs on a Windows machine. It clicks buttons, types into fields, reads screens, moves files and works Excel. Microsoft’s introduction to desktop flows describes them as broadening the RPA capabilities in Power Automate, covering legacy apps such as terminal emulators as well as modern web and desktop apps.
Three pieces matter for IT: the Power Automate for desktop designer, the machine runtime app that registers a machine to an environment (MSI installer only, not the Microsoft Store version), and the Power Automate portal where machines, queues and run history live.
Account type decides what you get. Per Microsoft’s prerequisites and limitations page, only an organization premium account gets cloud flow connectivity, sharing and centralized run logs. A free work or school account can build and run flows locally. Fine for a pilot. Not an operating model.
Attended vs Unattended: What’s the Real Difference?
Attended runs happen on a machine where a person is signed in, often while they watch. Unattended runs happen on a machine with nobody signed in. Power Automate opens its own Windows session, runs the flow, signs out and reports back.
The unattended rules catch people out. Microsoft’s unattended runs page, updated August 31, 2026, spells them out.
- Power Automate creates a remote desktop (RDP) session. It can’t use the console session.
- Windows 10 and 11 machines can’t run unattended flows if any user session is active, even a locked one
- Unattended flows can’t run with elevated privileges
- The connection user usually needs to be in the Remote Desktop Users group
- Signing in to the machine mid-run isn’t supported and can fail the flow
Screen resolution deserves its own line. The RDP session may open at a different resolution than you recorded in, so set it explicitly. We’ve watched a flow that passed every test fail on night one because the bot’s session was smaller than the developer’s monitor.
What Licenses Do Desktop Flows Need?
Premium covers the person and one attended bot. Process covers one unattended bot on a machine. Hosted Process covers one Microsoft-hosted bot. You’ll nearly always need Premium users as well, because capacity licenses don’t replace user licenses.
Here’s how Microsoft’s Power Automate license types page, updated September 22, 2026, lays it out.
| License | Assigned to | Desktop automation it includes |
|---|---|---|
| Power Automate Premium | User | Register a workstation, build unlimited desktop flows, one attended bot |
| Power Automate Process | Cloud flow or standard machine | One unattended bot when allocated to a machine |
| Power Automate Hosted Process | Hosted machine, hosted machine group, cloud flow, machine | One hosted bot, which also acts as an unattended bot |
| Power Automate Free | User | Author and run desktop flows locally, attended only |
Three details change budgets. A Premium user must register any machine that gets Process capacity. The connection owner who runs desktop flows from a Process-licensed cloud flow also needs Premium. And Hosted Process is called a superset of Process, but Microsoft says applying it to standard machines and cloud flows isn’t yet available.
Legacy Unattended RPA add-on capacity still works. Microsoft’s Process capacity page says Process and Unattended RPA capacity now sit in one pool and are interchangeable. Each unattended bot runs one desktop flow at a time, and a machine’s maximum is 10 bots on some Windows Server editions. Need five runs in parallel? Buy and allocate five.
Our Power Platform licensing guide covers how these stack with Power Apps, Dataverse and Copilot Studio. We don’t quote prices here, so check the current price list.

How Do Machines and Machine Groups Work?
A machine is a physical or virtual Windows device registered to one Power Platform environment. A machine group pools several machines, so triggered runs queue to the group and go to whichever machine frees up first. Groups are how you get resilience without babysitting individual boxes.
Microsoft’s manage machines page, updated November 16, 2026, has the rules IT should know before the first install.
- Registration needs the Environment Maker or Desktop Flow Machine Owner role
- Each machine runs cloud-triggered flows in one environment at a time. Changing it removes all the machine’s connections.
- Don’t clone a VM after installing the machine runtime
- Gateways for desktop flows are no longer supported. Direct connectivity replaced them.
- Maintenance mode stops new runs on a machine or group while you patch it. Running flows aren’t canceled.
Environment admins can lock registration down with three built-in Desktop Flows Machine roles. Do it early, before cleanup gets political. Our Dataverse security roles guide explains how those roles combine with the rest of your role design.
Groups have their own quirks. Per Microsoft’s machine groups page, the first machine added sets a group password you can’t recover. With local Windows accounts, every machine in the group needs the same account and password. Adding a machine to a group breaks any connection that targeted the machine directly. Groups also aren’t available in GCC, GCC High, DoD or China regions.
A documentation wrinkle. The machine groups page lists 300 machines per group, a 24-hour maximum run time, a 12-hour queue limit and 500 flows in the queue. The manage machines page lists 50 machines per group and unlimited run time. We’d design to the lower numbers until Microsoft reconciles them.
When Do Hosted Machines and Hosted Machine Groups Make Sense?
Hosted machines are single Windows 365 VMs that Microsoft provisions and registers for you, good for building, testing and running attended or unattended flows. Hosted machine groups autoscale unattended bots from a shared pool. Both need the Power Automate Hosted Process license, previously the hosted RPA add-on.
Microsoft’s hosted machines page lists Windows, Intune and Microsoft Entra ID as prerequisite licenses, and notes that Hosted Process licenses the machine, not the user. Makers still need Premium. Other points worth planning around:
- The default image is Windows 11 Enterprise 24H2 with Edge. Custom images come from your Azure Compute Gallery, must be Generation 2, generalized, single session and trusted launch.
- Provisioning can take more than 30 minutes, and only the creator can sign in interactively
- Without Hosted Process in the environment, a hosted machine inactive for 14 days is deleted
Hosted machine groups are the scale play. Per Microsoft’s hosted machine groups page, you set max bots and optional committed bots per group, and Power Automate load balances bots across all groups in the environment. Ten Hosted Process licenses with two hosted machines leaves eight bots for groups. The limits are 10 groups per environment and 50 bots per group. Groups only run unattended.
Cold starts are the part people miss. If a group is new or idle for more than three hours, bots get created before runs start, which takes at least 10 minutes. Microsoft says the queue may look stuck. For a nightly batch, who cares? For an intake flow with a 15-minute promise to customers, set committed bots. Also note that groups without committed bots are deleted after 28 days with no runs.
Our take? Hosted groups suit spiky, web-heavy work. Thick clients that need domain join often stay on your own VMs, since Entra hybrid join for hosted groups is still in preview.
How Do You Connect Desktop Flows to Cloud Flows?
A cloud flow calls the desktop flow with the Run a flow built with Power Automate for desktop action, through a desktop flow connection that targets a machine or group. You pick attended or unattended mode, pass input variables in, and read output variables back.
Microsoft’s trigger desktop flows page adds the limits that shape design. Inputs max out at 2 MB. Each connection supports up to 70 desktop flow runs per minute. And canceling the parent cloud flow doesn’t stop the child desktop flow if the Asynchronous Pattern setting is off on that action.
That last one bites. The bot keeps typing into the ERP.
We treat the cloud flow as the orchestrator and the desktop flow as a worker that does one job. The cloud flow handles triggers, approvals, retries and notifications. If a human must sign off before the bot posts anything, put that step in the cloud flow, as in our Power Automate approvals guide. For scopes, run-after settings and alerting around the desktop action, see our Power Automate error handling guide.
UI Automation or API First?
API first, every time an API exists. A connector or HTTP call doesn’t care about screen resolution, pop-ups or a vendor’s redesign. UI automation is for the apps that genuinely have no usable API: old thick clients, terminal emulators, Citrix-published apps and portals that won’t give you credentials for their API.
Microsoft’s own license page frames it the same way. It says RPA is needed for applications that lack a prebuilt connector and don’t have APIs you could use to build a custom connector. That’s the test.
A quick sign you’ve picked wrong? The bot opens a browser to a SaaS app that already has a connector. Our Azure integration patterns guide covers the API-side options when a connector doesn’t exist.
How we choose the automation type (ZapAI practice, not Microsoft guidance)
This is our working rule of thumb. It isn’t Microsoft guidance, and we revisit it as the products change.
| Situation | Our default | Why |
|---|---|---|
| Target system has a connector or documented API | Cloud flow with connector or HTTP | Fewest moving parts, no machine to patch |
| Legacy thick client or terminal, stable screens, high volume | Unattended desktop flow on a machine group | Deterministic, cheap per run once built |
| User-triggered task on their own PC | Attended desktop flow, picture-in-picture where it fits | Runs as the user, no extra bot license |
| Spiky web workloads, no special network needs | Hosted machine group with committed bots | Autoscale without owning VMs |
| Screens change often, steps vary per case, low volume | Pilot Copilot Studio computer use | AI adapts to UI change, priced per step |
| Thousands of items with an SLA | Work queue plus machine group | Decouples intake from processing, retries per item |
Comparing platforms rather than patterns? Our Power Automate vs UiPath comparison covers where each RPA tool fits.
What Do Self-Healing and Copilot Actually Do in 2026?
Self-healing tries to repair a broken UI selector at runtime with AI, so the flow continues instead of failing. Copilot in Power Automate for desktop can draft flows from a prompt, answer product questions and summarize actions. The flow-building and self-healing parts are both in preview.
Microsoft’s self-healing (preview) page, updated November 23, 2026, says it applies to Element not found and Window not found errors on supported single-element UI and browser actions. The order is retry policy, then self-healing, then your error rules, then continue or throw. It works in console and cloud runs, attended and unattended, but not in designer runs. You turn it on per action, on version 2.66 or later, after an admin enables generative AI settings in the Power Platform admin center.
Availability is narrower than the marketing. Organization premium accounts only, no extra cost for now, and not in GCC, GCC High, DoD or sovereign clouds. Microsoft also warns it might occasionally pick an unintended element.
Read that again if your bot posts payments. A self-healed click on the wrong button is worse than a clean failure. Start with navigation steps, review the heals weekly, then fix the selector properly.
On the Copilot side, Microsoft’s Copilot in Power Automate for desktop page labels natural language flow creation a preview, available to work or school accounts in US environments only. Product Q&A and action summaries reach many more regions. For UI steps it inserts a recorder placeholder, so a human still records the screen work.
How Should You Handle Credentials and Azure Key Vault?
Store machine and app passwords as Power Automate credentials backed by Azure Key Vault or CyberArk, not in flow variables or connection fields typed by hand. Desktop flows then pull them at runtime as sensitive variables that never appear in logs.
Microsoft’s Azure Key Vault credential page explains the setup. An admin registers the Power Platform resource provider, gives the Dataverse service principal access to the secrets, and keeps the vault in the same tenant. Credentials then serve desktop flow connections (password or certificate-based authentication), the Get credential action inside flows, and hosted group network connections.
- Connections created with credentials before April 2024 should be updated, because newer ones fetch the secret at run time and handle rotation
- The machine must be registered for credentials to work, even for local debugging runs
- Not available in US Government clouds
The November 2026 build also made user mapping credentials generally available, so credentials can be tied to individual users.
Treat bot accounts like admin accounts. Narrow roles, a named owner, no shared password half the team knows.

How Do You Monitor Runs, Queues and Work Queues?
Every machine and machine group has a run queue in the portal. Runs order by priority, High or Normal, then by queued time. Owners can change priority or move a run to the top. Work queues sit one level up, holding business items so many bots, or people, can process them with priorities and SLAs.
Microsoft’s desktop flow queues page calls the queue best effort FIFO, and recommends limiting how many short desktop flows, roughly under a minute, you queue in large machine groups. Extended queue prioritization switches on automatically for multi-session machines, so one blocked run doesn’t stall everything behind it.
Work queues are worth a look once volume grows. Microsoft’s work queues overview requires a Premium license and describes decoupling intake from processing so the highest-priority items finish first. Items live in Dataverse, so watch your capacity. Our Dataverse storage capacity guide explains the math.
Know the logging ceiling too. A run logs up to 10,000 actions, so a huge loop can leave you blind exactly where it broke. Video logs, in preview per the release plan, record the last 60 seconds before an unattended failure on version 2.66 or later, saved locally on the machine.
For estate-level oversight, pair this with the CoE practices in our Power Platform governance guide.
How Do Updates, Versions and Windows Requirements Affect You?
Power Automate for desktop ships monthly. Microsoft’s released versions page lists build 2611 (installer 2.74) as available worldwide on November 10, 2026, with 2612 expected mid-December. Updates are backward compatible but not forward compatible, and rollback isn’t supported.
That forward compatibility gap is the one that hurts. Per Microsoft’s update and roll back page, a flow saved in a newer version may refuse to run on a machine with an older one. One maker on the latest build saves a fix, and every bot on last quarter’s image fails. Microsoft says older versions are only available through support for business continuity, and admins can block manual updates with a registry key.
Windows support, from the prerequisites page:
- Windows 10 and 11 Home, Pro and Enterprise, plus Windows Server 2016, 2019, 2022 and 2025
- No ARM devices
- Home editions can author and run locally but can’t be triggered from the cloud
- Unattended mode needs four or more cores, plus .NET Framework 4.7.2 or later and TLS 1.2
Don’t bake Power Automate for desktop into a base VM image. Microsoft says cloned registration data causes unexpected behavior, so install after imaging.
Promotion between environments belongs in solutions. Our Power Platform ALM guide covers pipelines that keep dev, test and production versions in step.
What’s Changed for Desktop Flows in 2026?
Mostly maintainability work. Microsoft’s 2026 release wave 1 plan for Power Automate was archived in October 2026, and Microsoft now points to its roadmap. Here’s what that plan and the build notes show.
- Version control for desktop flows and version comparison reached general availability on May 13, 2026, along with testing subflows with a test suite
- Automating administrator-level desktop apps in unattended runs went GA on May 18, 2026
- PGP encrypt and decrypt went GA on July 16, 2026
- Video logs for unattended runs, local AI model connections, PowerPoint automation and current Python versions reached public preview
- The flowchart designer view arrived in preview in the 2607 build, alongside AI-assisted repair and self-healing improvements
- The 2611 build added native SQL Server support in database actions, new AI Builder actions, and a configurable timeout for UI automation actions
Items still marked as upcoming when the plan was archived, like scheduling desktop flows directly, stay unconfirmed until they show up in your tenant.
When Should You Use Copilot Studio Computer Use or APIs Instead?
Use an API when one exists. Use a desktop flow when the steps are known and repeatable. Consider Copilot Studio computer use when screens change often or each case needs judgment, and when you can accept AI behavior, per-step billing and preview hosting options.
Microsoft’s computer use page describes it as a tool that lets an agent operate websites and desktop apps with a virtual mouse and keyboard from natural language instructions. It needs generative orchestration, explained in our generative orchestration guide. Billing is five Copilot Credits per step on standard models and 15 on premium models, so a four-step time sheet costs 20 or 60 credits. Our Copilot Studio pricing breakdown shows how credits are bought.
Where it runs matters. Microsoft’s configure where computer use runs page lists a hosted browser (preview, not recommended for production), Cloud PC pools (preview), and bring-your-own machines registered in Power Automate on version 2.61.132.25266 or later. So your machine estate carries over. Your RPA governance should too.
Also note what the Power Automate prerequisites page says plainly: desktop flows aren’t supported as a tool in Microsoft Copilot Studio. Don’t design an agent around calling one directly until that changes.
Bias disclosed: we build all three. For stable, high-volume screens, a desktop flow is still cheaper per run. Computer use earns its credits on messy, low-volume tasks.
Common Mistakes With Power Automate Desktop Flows
Mostly setup and habit, not bugs.
- Leaving an admin signed in, or a locked session, on an unattended machine
- Recording at 2560 by 1440 and running in a smaller RDP session
- Building a desktop flow for an app that already has a connector
- Installing Power Automate for desktop into a golden image, then cloning it
- Letting makers save flows from the newest build while bots run last quarter’s
- Typing passwords into connections instead of using Key Vault credentials
- Buying Process licenses but forgetting the Premium user who registers machines and owns connections
- Expecting a hosted machine group to start instantly after a quiet weekend
- Turning on self-healing for payment steps and never reading the logs

Power Automate Desktop Flows Checklist
Use it before production and after each major update. It’s ours, not Microsoft’s.
- Each candidate process passed the API-first test, with the reason written down
- Machines run Pro, Enterprise or Server, x64, with Power Automate installed after imaging
- Machine registration restricted to the Desktop Flows Machine Owner role
- Production machines in machine groups, with group passwords stored in your vault
- Premium users for makers and connection owners, Process or Hosted Process for every parallel unattended run
- Unattended screen resolution set, no signed-in sessions, bot accounts in Remote Desktop Users
- All passwords as Key Vault or CyberArk credentials, with connections from before April 2024 updated
- Cloud flow orchestration with error handling, alerts and approvals where people must sign off
- Run priority set deliberately, work queues for high-volume items, video logs on for unattended runs
- Committed bots on hosted groups with time-sensitive work
- Manual updates blocked on bot machines, one test machine on the next build
- Solutions and pipelines for promotion, never manual export
Short on time? Do the API-first test, the credentials and the version policy. And to find the next candidate, our process mining guide shows how to spot steps worth automating.
Wrapping Up
Power Automate desktop flows are the right tool for apps without APIs, and they need real infrastructure discipline to stay reliable. Premium covers makers and attended bots, Process covers unattended bots, and Hosted Process covers Microsoft-hosted machines and groups. Store credentials in Key Vault, control versions, monitor queues, and treat self-healing and Copilot as previews. Use APIs first and computer use where screens keep changing.
ZapAI is a Microsoft Dynamics 365, Power Platform, Fabric and AI consulting firm in Irving, Texas, working with businesses across Dallas-Fort Worth and nationwide. Our Power Automate consultants help IT teams and automation CoEs design desktop flow estates, license bots correctly, move credentials into Key Vault and decide when an API or broader process automation is the better route. Running bots on spare PCs or seeing random unattended failures? Book a desktop flows review, and we’ll walk through your machines, licensing, credentials and run history with you.
Questions IT and CoE Leads Ask About Desktop Flows
Do we need a Process license for every bot?
One per parallel unattended run. Each Process license becomes one unattended bot that runs one desktop flow at a time, so five simultaneous runs need five. Attended runs use the bot included with a Premium user license, and hosted bots need Hosted Process instead.
Can desktop flows run on Windows 11 Home or an ARM laptop?
Home, partly. ARM, no. Home editions can build and run flows locally, but cloud flows can’t trigger them, and Microsoft doesn’t support ARM processors at all.
What happens if someone is signed in when an unattended run starts?
On Windows 10 or 11, the run can’t start. Any active user session, even a locked one, blocks it. A preview setting can send an Automation Center recommendation so you can disconnect the user within a 10-minute window. Better still, keep people off bot machines.
Is self-healing safe to turn on in production?
Carefully, and per action. It’s a preview, it uses generative AI, and Microsoft says it can occasionally pick the wrong element. We enable it on low-risk navigation steps, keep it off for posting or payment actions, and fix the selector after every heal.
Hosted machine or hosted machine group?
Hosted machines suit building, testing and attended work, since the creator can sign in. Hosted machine groups suit unattended work at scale, with autoscaling and load balancing across groups. Both use Hosted Process capacity.
Should new automations go to Copilot Studio computer use instead?
Not by default. Computer use adapts to changing screens and handles judgment, but you pay Copilot Credits for every step and the hosted options are previews. For stable, high-volume, rule-based work, a desktop flow is usually cheaper and easier to audit. Pilot computer use on the messy cases first.
How do we stop a Power Automate update from breaking our bots?
Control the version on both sides. Block manual updates on bot machines, keep one test machine on the next build, and make sure makers don’t save production flows from a newer version than the bots run. Rollback isn’t supported, so plan updates like any other release.
