Run Python scripts using current Python versions in desktop flows

Important

Some of the functionality described in this release plan has not been released. Delivery timelines may change and projected functionality may not be released (see Microsoft policy). Learn more: What's new and planned

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Jun 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.