Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Set-EntraBetaPrivilegedRoleAssignmentRequest
Update a role assignment request
Syntax
Default (Default)
Set-EntraBetaPrivilegedRoleAssignmentRequest
-Id <String>
[-Schedule <AzureADMSPrivilegedSchedule>]
[-AssignmentState <String>]
[-Decision <String>]
[-Reason <String>]
-ProviderId <String>
[<CommonParameters>]
Description
Update a role assignment request
Examples
Example 1
PS C:\> Set-EntraBetaPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Id 8d28fcb3-1373-4810-8e84-75adea9a18be -Reason "{'RequestorReason':'test','AdminReason':'gg'}" -Decision "AdminDenied"
Update a role assignment request by setting to denied
Parameters
-AssignmentState
The state of assignment, and the values can be Eligible or Active. For decision of AdminApproved, it is required.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Decision
The administrator decision of the role assignment request. The value should be updated as AdminApproved or AdminDenied.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Id
The unique identifier of the specific role assignment request
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-ProviderId
The unique identifier of the specific provider
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Reason
The reason provided by the administrator for his decision.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Schedule
The schedule of the role assignment request. For status of AdminApproved, it is required.
Parameter properties
| Type: | AzureADMSPrivilegedSchedule |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
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.
Inputs
System.String
Outputs
System.Object
Feedback
Was this page helpful?
