Remove-AdminPowerAppConnectorRoleAssignment
Deletes a connector role assignment.
Syntax
Remove-AdminPowerAppConnectorRoleAssignment
-EnvironmentName <String>
-ConnectorName <String>
-RoleId <String>
[-ApiVersion <String>]
[<CommonParameters>]
Remove-AdminPowerAppConnectorRoleAssignment
-EnvironmentName <String>
-ConnectorName <String>
-RoleId <String>
[-ApiVersion <String>]
[<CommonParameters>]
Description
This cmdlet contains more than one parameter set. You may only use parameters from one parameter set, and you may not combine parameters from different parameter sets. For more information about how to use parameter sets, see Cmdlet parameter sets.
The Remove-AdminPowerAppConnectorRoleAssignment cmdlet deletes the record of a connector role assignment.
Examples
EXAMPLE 1
Remove-AdminPowerAppConnectorRoleAssignment -EnvironmentName [Guid] -ConnectorName shared_testapi.[Guid] -RoleId /providers/Microsoft.PowerApps/scopes/admin/environments/[Guid]/apis/shared_testapi.[Guid]/permissions/[Guid]
Deletes the role assignment with the specified Id from the connector with the name "shared_testapi.[Guid]".
Parameters
Version of Power Apps API to use.
| Type: | String |
| Position: | Named |
| Default value: | 2017-06-01 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Name of the connector.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
ID of the environment of the connector.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
User ID or tenant ID of the role assignment to delete.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |