Use Power Platform environment variables in desktop flows

Enabled for Public preview Early access General availability
Admins, makers, marketers, or analysts, automatically - - Feb 24, 2026

Business value

Retrieve Power Platform environment variables directly through their desktop flows without the need to pass them as inputs to the flow.

Feature details

A new Power Automate for desktop action enables you to retrieve Power Platform environment variables through your desktop flows. This action fetches all environment variables currently available in the Power Platform environment containing the desktop flow so you can pick one to use in your flow. The variable's value dynamically resolves during runtime based on the value that the environment variable is configured to have in that environment.

This action is useful in cases where your flow needs to be adjusted based on the environment it runs in, without having to modify the flow content. It's also especially helpful in cases where retrieving environment variables has been impossible due to the use of managed environments.

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.

Create environment variables (docs)