Remove-AdminPowerAppRoleAssignment

Deletes a role of an app.

Syntax

Remove-AdminPowerAppRoleAssignment
      -RoleId <String>
      -EnvironmentName <String>
      -AppName <String>
      [-ApiVersion <String>]
      [<CommonParameters>]

Description

The Remove-AdminPowerAppRoleAssignment cmdlet deletes a specific role of an app.

Examples

Example 1

Remove-AdminPowerAppRoleAssignment -RoleId "[Guid]" -EnvironmentName "Default-[Guid]" -AppName "[Guid]"

Deletes the specified role for the specified app in the specified default environment.

Parameters

-ApiVersion

Version of Power Apps API to use.

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

-AppName

ID of the app.

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

-EnvironmentName

ID of the environment of the app.

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

-RoleId

ID of the role assignment to delete.

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