Get-PnPFlow

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Get-PnPFlow.md to change this file.

Required Permissions

  • Azure: management.azure.com

Returns the flows for a given environment

Syntax

Get-PnPFlow
   -Environment <PowerAutomateEnvironmentPipeBind>
   [-AsAdmin]
   [-Identity <PowerPlatformPipeBind>]
   [-Connection <PnPConnection>]
   [<CommonParameters>]

Description

This cmdlets returns the flows for a given enviroment.

Examples

Example 1

$environment = Get-PnPPowerPlatformEnvironment
Get-PnPFlow -Environment $environment

This returns all the flows for a given power platform environment

Example 2

$environment = Get-PnPPowerPlatformEnvironment
Get-PnPFlow -Environment $environment -Identity fba63225-baf9-4d76-86a1-1b42c917a182

This returns specific flow

Parameters

-AsAdmin

If specified returns all the flows as admin. If not specified only the flows for the current user will be returned.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:PnPConnection
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Environment

The name of the Power Platform environment or an Environment object to retrieve the available flows for.

Type:PowerAutomateEnvironmentPipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Identity

The Name/Id of the flow to retrieve.

Type:PowerPlatformPipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False