AddPrivilegedRole
Assigns a privileged role to a user, enabling elevated permissions.
Input
| Name | Type | Description |
| PrincipalId | String | The unique identifier of the user, group, or service principal that is being assigned the role eligibility. Typically, this identifier is a globally unique identifier (GUID). |
| RoleDefinitionId | String | The unique identifier for the specific role definition being assigned to the principal. It maps to a role within Azure Active Directory. |
| Justification | String | A detailed message provided by the requester or administrator explaining the reason for the role eligibility assignment. |
| ScheduleInfo | String | Defines the time period during which the role eligibility is active, including start and end dates or a recurring schedule. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the operation to add the privileged role eligibility was completed successfully, returning a boolean value. |