次の方法で共有


Remove-AdminPowerAppConnectorRoleAssignment

Deletes a connector role assignment record.

Syntax

User (Default)

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

Tenant

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.

Parameter properties

Type:String
Default value:2017-06-01
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ConnectorName

The connector name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-EnvironmentName

The connector's environment ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-RoleId

The ID of the role assignment to be deleted.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.