Table of Contents

Get-PnPDeletedFlow

SYNOPSIS

Required Permissions

  • Azure: management.azure.com

Information

  • To use this command, you must be a Global or Power Platform administrator.

Note

  • A Power Automate flow is soft-deleted when:
  • It's a non-solution flow.
  • It's been deleted less than 21 days ago.

Returns all soft-deleted Power Automate flows within an environment

SYNTAX

All (Default)

Get-PnPDeletedFlow [-Environment <PowerAutomateEnvironmentPipeBind>] [-Connection <PnPConnection>] [-Verbose]

DESCRIPTION

This cmdlet returns Deleted Power Automate Flows meeting the specified criteria.

EXAMPLES

Example 1

Get-PnPDeletedFlow

Returns all the deleted flows in the default Power Platform environment belonging to any user

Example 2

Get-PnPPowerPlatformEnvironment -Identity "MyOrganization (default)" | Get-PnPDeletedFlow

Returns all the deleted flows for a given Power Platform environment belonging to the any user

PARAMETERS

-Environment

The name of the Power Platform environment or an Environment instance. If omitted, the default environment will be used.

Type: PowerPlatformEnvironmentPipeBind
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: The default environment
Accept pipeline input: True
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
Parameter Sets: (All)
Aliases:

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

-Verbose

When provided, additional debug statements will be shown while executing the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)

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

Microsoft 365 Patterns and Practices