Share via


Get-AdminFlow

Returns information about one or more Power Automate flows.

Syntax

Filter (Default)

Get-AdminFlow
    [[-Filter] <String[]>]
    [-EnvironmentName <String>]
    [-IncludeDeleted <Boolean>]
    [-IncludeEUDBNonCompliantFlows <Boolean>]
    [-ApiVersion <String>]
    [<CommonParameters>]

User

Get-AdminFlow
    -CreatedBy <String>
    [-EnvironmentName <String>]
    [-IncludeDeleted <Boolean>]
    [-IncludeEUDBNonCompliantFlows <Boolean>]
    [-ApiVersion <String>]
    [<CommonParameters>]

App

Get-AdminFlow
    -FlowName <String>
    [-EnvironmentName <String>]
    [-ApiVersion <String>]
    [<CommonParameters>]

Description

The Get-AdminFlow cmdlet looks up information about one or more flows depending on parameters. Use Get-Help Get-AdminFlow -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminFlow

Returns all flow from all environments where the current user is an environment admin. For global admins, this cmdlet searches across all environments in the tenant.

EXAMPLE 2

Get-AdminFlow -CreatedBy 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Returns all apps created by the user with an object of "00aa00aa-bb11-cc22-dd33-44ee44ee44ee" from all environment where the calling user is an environment admin. For global admins, this cmdlet searches across all environments in the tenant.

EXAMPLE 3

Get-AdminFlow *Flows*

Returns all flows with the text "Flows" from all environments where the current user is an environment admin. For global admins, this cmdlet searches across all environments in the tenant.

EXAMPLE 4

Get-AdminFlow -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Finds flows within the 00aa00aa-bb11-cc22-dd33-44ee44ee44ee environment.

EXAMPLE 5

Get-AdminFlow -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee -IncludeDeleted $true

Finds flows within the 00aa00aa-bb11-cc22-dd33-44ee44ee44ee environment, including any that are soft-deleted.

EXAMPLE 6

Get-AdminFlow *Foobar* -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Finds all flows in environment 00aa00aa-bb11-cc22-dd33-44ee44ee44ee that contain the string "Foobar" in the display name.

EXAMPLE 7

Get-AdminFlow -FlowName 00001111-aaaa-2222-bbbb-3333cccc4444 -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Returns the details for the flow named 00001111-aaaa-2222-bbbb-3333cccc4444 in Environment 00aa00aa-bb11-cc22-dd33-44ee44ee44ee.

EXAMPLE 8

Get-AdminFlow -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee -IncludeEUDBNonCompliantFlows $true

Finds flows that are not European Union Data Boundary (EUDB) compliant within the 00aa00aa-bb11-cc22-dd33-44ee44ee44ee environment.

Parameters

-ApiVersion

Specifies the API version.

Parameter properties

Type:String
Default value:2016-11-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CreatedBy

Limit flows returned to those created by the specified use. You must specify a user's object ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

User
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EnvironmentName

Limit flows returned to those in a specified environment.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Filter

Finds flows matching the specified filter. Wildcards are supported.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-FlowName

Finds a specific ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

App
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-IncludeDeleted

Include soft-deleted flows in the returned list.

Parameter properties

Type:Boolean
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
User
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IncludeEUDBNonCompliantFlows

Include non-EUDB compliant flows in the returned list

Parameter properties

Type:Boolean
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
User
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.