Partilhar via


Remove-AdminPowerAppConnectionRoleAssignment

Deletes a connection role assignment record.

Syntax

Remove-AdminPowerAppConnectionRoleAssignment
      [[-ConnectionName] <String>]
      [-ConnectorName <String>]
      [-EnvironmentName <String>]
      [-RoleId <String>]
      [-ApiVersion <String>]
      [<CommonParameters>]

Description

The Remove-AdminPowerAppConnectionRoleAssignment cmdlet deletes the specified connection role assignment. Use Get-Help Remove-AdminPowerAppConnectionRoleAssignment -Examples for more detail.

Examples

EXAMPLE 1

Remove-AdminPowerAppConnectionRoleAssignment -ConnectionName a2956cf95ba441119d16dc2ef0ca1ff9 -EnvironmentName 08b4e32a-4e0d-4a69-97da-e1640f0eb7b9 -ConnectorName shared_twitter -RoleId /providers/Microsoft.PowerApps/apis/shared_twitter/connections/a2956cf95ba441119d16dc2ef0ca1ff9/permissions/7557f390-5f70-4c93-8bc4-8c2faabd2ca0

Deletes the app role assignment with an ID of /providers/Microsoft.PowerApps/apps/f8d7a19d-f8f9-4e10-8e62-eb8c518a2eb4/permissions/tenant-efecdc9a-c859-42fd-b215-dc9c314594dd.

Parameters

-ApiVersion

The api version to call with.

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

-ConnectionName

The connection identifier.

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

-ConnectorName

The connection's associated connector name.

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

-EnvironmentName

The connection's environment ID.

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

-RoleId

The ID of the role assignment to be deleted.

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