Run Python scripts using current Python versions in desktop flows

Important

As of October 2026, this content is archived and no longer maintained. Information on this page may not reflect the latest product plans, features, or guidance. For current roadmap information across Dynamics 365, Power Platform, Dataverse, Microsoft 365, and Copilot, visit the roadmap. Continue to use Microsoft Learn for authoritative product guidance and documentation.

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Jul 31, 2026 -

Business value

You can now use the full Python ecosystem in your desktop flows without the old limitations of IronPython. With support for the latest Python versions, you’ll have access to popular libraries and tools, making it easier to create smarter, more flexible automations. This means faster development, fewer workarounds, and more powerful solutions for your business.

Feature details

Power Automate for desktop now supports running Python scripts using current Python versions in addition to existing legacy scripting capabilities. This enhancement addresses the limitations of the previous IronPython-based implementation and enables you to execute scripts with broader compatibility across libraries. You can run scripts using a locally installed Python environment and specify the Python installation to use, allowing flexibility in selecting the appropriate setup for your automation scenarios.

Existing scripts continue to work as before, enabling backward compatibility while allowing you to adopt updated Python capabilities at your own pace.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.