Remove-AdminFlowOwnerRole

Removes owner permissions to a flow.

Syntax

Remove-AdminFlowOwnerRole
      [-ApiVersion <String>]
      -FlowName <String>
      -EnvironmentName <String>
      -RoleId <String>
      [<CommonParameters>]

Description

The Remove-AdminFlowOwnerRole cmdlet removes owner permission to a flow, depending on parameters.

Examples

EXAMPLE 1

Remove-AdminFlowOwnerRole -EnvironmentName "Default-[Guid]" -FlowName $flow.FlowName -RoleId "/providers/Microsoft.ProcessSimple/environments/Default-[Guid]/flows/[Guid]/permissions/[Guid]"

Removes flow permission of the specified owner for the specified flow in the specified environment.

Parameters

-ApiVersion

Version of Power Apps API to use.

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

ID of the environment of the flow.

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

Name of the flow within the environment that you specify.

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

Role ID of user, group, or tenant.

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