Compartilhar via


Remove-AdminPowerAppConnectorRoleAssignment

Deletes a connector role assignment record.

Syntax

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

Description

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

Examples

EXAMPLE 1

Remove-AdminPowerAppConnectorRoleAssignment -EnvironmentName 0fc02431-15fb-4563-a5ab-8211beb2a86f -ConnectorName shared_testapi.5f0629412a7d1fe83e.5f6f049093c9b7a698 -RoleId /providers/Microsoft.PowerApps/scopes/admin/environments/0fc02431-15fb-4563-a5ab-8211beb2a86f/apis/shared_testapi.5f0629412a7d1fe83e.5f6f049093c9b7a698/permissions/a9f34b89-b7f2-48ef-a3ca-1c435bc655a0

Deletes the role assignment with an ID of /providers/Microsoft.PowerApps/scopes/admin/environments/0fc02431-15fb-4563-a5ab-8211beb2a86f/apis/shared_testapi.5f0629412a7d1fe83e.5f6f049093c9b7a698/permissions/a9f34b89-b7f2-48ef-a3ca-1c435bc655a0.

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

-ConnectorName

The connector name.

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

-EnvironmentName

The connector's environment ID.

Type:String
Position:Named
Default value:None
Required:True
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:True
Accept pipeline input:True
Accept wildcard characters:False