authorization_activate_role
Activate an eligible Azure PIM role assignment by providing role, scope, and justification. Returns activation status and request ID.
Instructions
Activate an eligible Azure PIM role assignment.
role: the role name exactly as returned by authorization_list_eligible_roles (e.g. 'Contributor') scope: the scope to activate on, exactly as returned by authorization_list_eligible_roles justification: reason for activation (required by Azure PIM) duration: optional ISO 8601 duration string (e.g. 'PT4H', 'PT30M'). Defaults to the maximum duration allowed by the role's policy. Capped at the policy maximum if exceeded.
Returns the activation status and request ID. Status 'Provisioned' means immediately active. Status 'PendingApproval' or 'PendingApprovalProvisioning' means an approver must act first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| scope | Yes | ||
| justification | Yes | ||
| duration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |