Remove-AdminPowerAppEnvironmentRoleAssignment

Deletes the specified role assignment of an environment.

Syntax

Remove-AdminPowerAppEnvironmentRoleAssignment
      -RoleId <String>
      -EnvironmentName <String>
      [-ApiVersion <String>]
      [<CommonParameters>]

Description

The Remove-AdminPowerAppEnvironmentRoleAssignment cmdlet deletes the specified role assignment of an environment. Use Get-Help Remove-AdminPowerAppEnvironmentRoleAssignment -Examples for more detail.

Examples

EXAMPLE 1

Remove-AdminPowerAppEnvironmentRoleAssignment -RoleId "4d1f7648-ad60-4871-91cb-b77d7ef3c239" -EnvironmentName "Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877"

Deletes the role named 4d1f7648-ad60-4871-91cb-b77d7ef3c239 in environment with the ID Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877.

Parameters

-ApiVersion

The api version to call with.

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

-EnvironmentName

The environment ID.

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

-RoleId

Specifies the role assignment ID.

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