Edit

Share via


Power Automate environment actions

In this module, you find actions that allow you to retrieve environment variables that are available in your environment, offering direct integration with the corresponding components.

You can retrieve environment variables of the following types: Text values, numeric values, Boolean values, JSON as text values, and secrets as sensitive values (text values that are enforced to be sensitive). The secret values are only retrieved at runtime and aren't logged.

Retrieve environment variable

Retrieves a Power Automate environment variable.

Input parameters

Argument Optional Accepts Default Value Description
Environment variable No Text value Select the environment variable whose value will be retrieved

Variables produced

Argument Type Description
EnvironmentVariableValue Depends on the selected environment variable type Retrieve the Power Automate environment variable value

Exceptions

Exception Description
Retrieve environment variable failed Indicates a problem while retrieving the environment variable