Skip to main content

ApprovalConfig

Properties

NameTypeDescriptionNotes
TenantIdStringTenant ID of the approval configuration.[optional]
IdStringID of the approval configuration.[optional]
ScopeStringThe type/scope of the configuration. Ie APPROVAL_REQUEST, DOMAIN_OBJECT, APPROVAL_TYPE, TENANT[optional]
ReminderConfigApprovalConfigReminderConfig[optional]
EscalationConfigApprovalConfigEscalationConfig[optional]
TimeoutConfigApprovalConfigTimeoutConfig[optional]
CronTimezoneApprovalConfigCronTimezone[optional]
SerialChain[]ApprovalConfigSerialChainInnerIf the approval request has an approvalCriteria of SERIAL this chain will be used to determine the assignment order.[optional]
RequiresCommentEnum [ "APPROVAL", "REJECTION", "ALL", "OFF" ]Determines whether a comment is required when approving or rejecting the approval request.[optional]
FallbackApproverApprovalIdentityConfiguration for fallback approver. Used if the user cannot be found for whatever reason and escalation config does not exist.[optional]
AutoApproveEnum [ "OFF", "DIRECT", "INDIRECT" ]OFF will prevent the approval request from being assigned to the requester or requestee by assigning it to their manager instead. DIRECT will cause approval requests to be auto-approved when assigned directly and only to the requester. INDIRECT will auto-approve when the requester appears anywhere in the list of approvers, including in a governance group. This field will only be effective if requestedTarget.reauthRequired is set to false, otherwise the approval will have to be manually approved.[optional]

Examples

  • Prepare the resource
$ApprovalConfig = Initialize-V2025ApprovalConfig  -TenantId d3c10266-1a31-4acc-b01e-44a3d1c56615 `
-Id 5804e7d6-e04b-400f-9fb8-dff894419a2f `
-Scope APPROVAL_REQUEST `
-ReminderConfig null `
-EscalationConfig null `
-TimeoutConfig null `
-CronTimezone null `
-SerialChain null `
-RequiresComment ALL `
-FallbackApprover null `
-AutoApprove false
  • Convert the resource to JSON
$ApprovalConfig | ConvertTo-JSON

[Back to top]