A woman reviews an automated workflow on a large monitor, with connected tasks and approval checkmarks.
Microsoft plans to add AI-assisted testing to Power Automate for desktop, targeting one of the chores that comes with changing an automation: keeping its tests up to date. Roadmap item 581788 describes a feature that would create test cases for new desktop flows and add or revise tests as existing flows change. The people who build those flows would still review the proposed tests and decide which changes to apply.

The roadmap item is in development, with a January 2027 preview and May 2027 general availability penciled in. The initial scope is Power Automate environments in the United States region. The item lists the Worldwide (Standard Multi-Tenant) cloud instance, but that label doesn’t make the initial rollout global. Microsoft says its roadmap dates and feature descriptions are subject to change.

A woman reviews an automated workflow on a large monitor, with connected tasks and approval checkmarks. What Power Automate can test today​

Power Automate for desktop already runs test cases; the proposed feature would help write and maintain them. Microsoft Learn documents a workflow in which a maker supplies inputs to a desktop flow or a local subflow, then uses the Assert action to compare the output with an expected result. A failed assertion fails the test. The documented workflow requires Power Automate for desktop 2.54 or later and a Power Automate Premium license. Those are prerequisites for existing testing, not confirmed requirements for the AI feature.

Review what the test expects, not just whether it passes​

Suppose a desktop flow imports invoices and is supposed to reject duplicate entries. If a flow edit accidentally lets duplicates through, a test that simply adopts the new output as its expected result could pass while the business rule is broken. In that case, the useful regression test is the one that still expects rejection. That’s why reviewing a proposed change to an assertion matters as much as reviewing a newly generated test.

The roadmap doesn’t specify which edits trigger test updates, what assertions the AI can generate, or whether additional setup or licensing will be required. Teams don’t need to wait for the preview to establish a baseline: use the existing test tools to capture the outcomes that must survive a flow edit, including cases where the automation should reject an input. That gives reviewers something concrete to compare against when AI starts suggesting changes.

 

References

  1. Power Automate: Automatically create and maintain tests for desktop flows with AI assisted testing Microsoft 365 Roadmap 2026-11-30T23:56:15.533688Z
  2. Create and manage test cases for desktop flows - Power Automate | Microsoft Learn learn.microsoft.com
  3. Microsoft Copilot Roadmap | Microsoft 365 microsoft.com