Share via


Get-AdminFlowEncryptedByMicrosoftKey

Lists Power Automate flows that are encrypted by a Microsoft key.

Syntax

Get-AdminFlowEncryptedByMicrosoftKey
   -EnvironmentName <String>
   [-ListCannotMigrateToCustomerManagedKey]
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Get-AdminFlowEncryptedByMicrosoftKey returns a list of Power Automate flow IDs that are encrypted by a Microsoft managed key. Use Get-Help Get-AdminFlowEncryptedByMicrosoftKey -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminFlowEncryptedByMicrosoftKey -EnvironmentName Default-00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Returns an array of flow IDs for the environment "Default-00aa00aa-bb11-cc22-dd33-44ee44ee44ee" that are encrypted by a Microsoft managed key.

EXAMPLE 2

Get-AdminFlowEncryptedByMicrosoftKey -EnvironmentName Default-00aa00aa-bb11-cc22-dd33-44ee44ee44ee -ListCannotMigrateToCustomerManagedKey

Only returns an array of flow IDs for environment "Default-00aa00aa-bb11-cc22-dd33-44ee44ee44ee" that can't be migrated to be encrypted by a customer managed key.

Parameters

-ApiVersion

Specifies the Api version that is called.

Type:String
Position:Named
Default value:2016-11-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

Limit apps returned to those in a specified environment by environment ID.

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

-ListCannotMigrateToCustomerManagedKey

Returns an array of flow IDs that can't be migrated to be encrypted by a customer managed key.

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