編輯

共用方式為


approvalStage complex type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

In entitlement management, used for the approvalStages property of approval settings in the requestApprovalSettings property of an access package assignment policy. Specifies the primary, fallback, and escalation approvers of each stage.

In PIM, defines the settings of the approval stages in a unifiedRoleManagementPolicyApprovalRule object. Specifies the primary and escalation approvers of each stage and whether approvals and escalations are required.

Properties

Property Type Description
approvalStageTimeOutInDays Int32 The number of days that a request can be pending a response before it is automatically denied.
isApproverJustificationRequired Boolean Indicates whether the approver is required to provide a justification for approving a request.
isEscalationEnabled Boolean If true, then one or more escalation approvers are configured in this approval stage.
escalationTimeInMinutes Int32 If escalation is required, the time a request can be pending a response from a primary approver.
primaryApprovers userSet collection The users who are asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, and targetUserSponsors. When creating or updating a policy, include at least one userSet in this collection.
escalationApprovers userSet collection The users who are asked to approve requests if escalation is enabled and the primary approvers don't respond before the escalation time. This property can be a collection of singleUser, groupMembers, requestorManager, internalSponsors, and externalSponsors. When you create or update a policy, if there are no escalation approvers, or escalation approvers aren't required for the stage, assign an empty collection to this property.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.


{
    "approvalStageTimeOutInDays": 14,
    "isApproverJustificationRequired": true,
    "isEscalationEnabled": true,
    "escalationTimeInMinutes": 11520,
    "primaryApprovers": [{"@odata.type": "microsoft.graph.userSet"}],
    "escalationApprovers": [{"@odata.type": "microsoft.graph.userSet"}]
}