< Back

Remove-AdminFlowOwnerRole

Sat Jan 18, 2020 3:49 pm

NAME Remove-AdminFlowOwnerRole



SYNOPSIS

Removes owner permissions to the flow.





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

The Remove-AdminFlowOwnerRole sets up permission to flow depending on parameters.

Use Get-Help Remove-AdminFlowOwnerRole -Examples for more detail.





PARAMETERS

-ApiVersion <String>



Required? false

Position? named

Default value 2016-11-01

Accept pipeline input? false

Accept wildcard characters? false



-FlowName <String>

Specifies the flow id.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-EnvironmentName <String>

The environment of the flow.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-RoleId <String>

Specifies the role id of user or group or tenant.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Remove-AdminFlowOwnerRole -EnvironmentName "Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877" -FlowName

$flow.FlowName -RoleId "/providers/Microsoft.ProcessSimple/environments/Default-55abc7e5-2812-4d73-9d2f-8d9017f8c87

7/flows/791fc889-b9cc-4a76-9795-ae45f75d3e48/permissions/1ec3c80c-c2c0-4ea6-97a8-31d8c8c3d488"



deletes flow permision for the given RoleId, FlowName and Environment name.











RELATED LINKS