Remove-AdminPowerAppEnvironmentRoleAssignment
Deletes the specified role assignment of an environment.
Syntax
Default (Default)
Remove-AdminPowerAppEnvironmentRoleAssignment
-RoleId <String>
-EnvironmentName <String>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The Remove-AdminPowerAppEnvironmentRoleAssignment cmdlet deletes the specified role assignment of an environment. Use Get-Help Remove-AdminPowerAppEnvironmentRoleAssignment -Examples for more detail.
Examples
EXAMPLE 1
Remove-AdminPowerAppEnvironmentRoleAssignment -RoleId "4d1f7648-ad60-4871-91cb-b77d7ef3c239" -EnvironmentName "Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877"
Deletes the role named 4d1f7648-ad60-4871-91cb-b77d7ef3c239 in environment with the ID Default-55abc7e5-2812-4d73-9d2f-8d9017f8c877.
Parameters
-ApiVersion
The api version to call with.
Parameter properties
Type: | String |
Default value: | 2016-11-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 |
-EnvironmentName
The 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
Specifies the role assignment 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 |
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.