Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The approvals resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands* Management groups - See management group deployment commands* Subscription - See subscription deployment commands* Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Mission/approvals resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Mission/approvals@2026-04-01' = {
scope: resourceSymbolicName or scope
name: 'string'
properties: {
approvers: [
{
actionPerformed: 'string'
approverEntraId: 'string'
lastUpdatedAt: 'string'
}
]
createdAt: 'string'
grandparentResourceId: 'string'
parentResourceId: 'string'
requestMetadata: {
approvalCallbackPayload: 'string'
approvalCallbackRoute: 'string'
approvalStatus: 'string'
resourceAction: 'string'
}
stateChangedAt: 'string'
ticketId: 'string'
}
}
Property Values
Microsoft.Mission/approvals
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$ (required) |
| properties | The resource-specific properties for this resource. | ApprovalProperties |
| scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
ApprovalProperties
| Name | Description | Value |
|---|---|---|
| approvers | List of approvers for the approval request | Approver[] |
| createdAt | Approval request creation time | string |
| grandparentResourceId | Parameter for optimizing query results | string |
| parentResourceId | Parameter for optimizing query results | string |
| requestMetadata | Request metadata for the approval request. | RequestMetadata (required) |
| stateChangedAt | Approval request state change time, time at which approval request state changed from pending to approved or rejected. | string |
| ticketId | Ticket ID for the approval request | string |
Approver
| Name | Description | Value |
|---|---|---|
| actionPerformed | Action Performed by approver | 'Approved' 'Rejected' |
| approverEntraId | Entra ObjectID of the approver | string (required) |
| lastUpdatedAt | approval request last updated at | string (required) |
RequestMetadata
| Name | Description | Value |
|---|---|---|
| approvalCallbackPayload | Payload to be sent upon any action on approval request | string |
| approvalCallbackRoute | Route name for the approval callback | string |
| approvalStatus | Status of the approval. Uses ApprovalStatus enum. | 'Approved' 'Deleted' 'Expired' 'Pending' 'Rejected' |
| resourceAction | Resource Action of the item being approved or declined. | string (required) |
ARM template resource definition
The approvals resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands* Management groups - See management group deployment commands* Subscription - See subscription deployment commands* Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.Mission/approvals resource, add the following JSON to your template.
{
"type": "Microsoft.Mission/approvals",
"apiVersion": "2026-04-01",
"name": "string",
"properties": {
"approvers": [
{
"actionPerformed": "string",
"approverEntraId": "string",
"lastUpdatedAt": "string"
}
],
"createdAt": "string",
"grandparentResourceId": "string",
"parentResourceId": "string",
"requestMetadata": {
"approvalCallbackPayload": "string",
"approvalCallbackRoute": "string",
"approvalStatus": "string",
"resourceAction": "string"
},
"stateChangedAt": "string",
"ticketId": "string"
}
}
Property Values
Microsoft.Mission/approvals
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2026-04-01' |
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$ (required) |
| properties | The resource-specific properties for this resource. | ApprovalProperties |
| type | The resource type | 'Microsoft.Mission/approvals' |
ApprovalProperties
| Name | Description | Value |
|---|---|---|
| approvers | List of approvers for the approval request | Approver[] |
| createdAt | Approval request creation time | string |
| grandparentResourceId | Parameter for optimizing query results | string |
| parentResourceId | Parameter for optimizing query results | string |
| requestMetadata | Request metadata for the approval request. | RequestMetadata (required) |
| stateChangedAt | Approval request state change time, time at which approval request state changed from pending to approved or rejected. | string |
| ticketId | Ticket ID for the approval request | string |
Approver
| Name | Description | Value |
|---|---|---|
| actionPerformed | Action Performed by approver | 'Approved' 'Rejected' |
| approverEntraId | Entra ObjectID of the approver | string (required) |
| lastUpdatedAt | approval request last updated at | string (required) |
RequestMetadata
| Name | Description | Value |
|---|---|---|
| approvalCallbackPayload | Payload to be sent upon any action on approval request | string |
| approvalCallbackRoute | Route name for the approval callback | string |
| approvalStatus | Status of the approval. Uses ApprovalStatus enum. | 'Approved' 'Deleted' 'Expired' 'Pending' 'Rejected' |
| resourceAction | Resource Action of the item being approved or declined. | string (required) |
Terraform (AzAPI provider) resource definition
The approvals resource type can be deployed with operations that target:
- Tenant* Management groups* Subscription* Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Mission/approvals resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Mission/approvals@2026-04-01"
name = "string"
parent_id = "string"
body = {
properties = {
approvers = [
{
actionPerformed = "string"
approverEntraId = "string"
lastUpdatedAt = "string"
}
]
createdAt = "string"
grandparentResourceId = "string"
parentResourceId = "string"
requestMetadata = {
approvalCallbackPayload = "string"
approvalCallbackRoute = "string"
approvalStatus = "string"
resourceAction = "string"
}
stateChangedAt = "string"
ticketId = "string"
}
}
}
Property Values
Microsoft.Mission/approvals
| Name | Description | Value |
|---|---|---|
| name | The resource name | string Constraints: Pattern = ^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$ (required) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| properties | The resource-specific properties for this resource. | ApprovalProperties |
| type | The resource type | "Microsoft.Mission/approvals@2026-04-01" |
ApprovalProperties
| Name | Description | Value |
|---|---|---|
| approvers | List of approvers for the approval request | Approver[] |
| createdAt | Approval request creation time | string |
| grandparentResourceId | Parameter for optimizing query results | string |
| parentResourceId | Parameter for optimizing query results | string |
| requestMetadata | Request metadata for the approval request. | RequestMetadata (required) |
| stateChangedAt | Approval request state change time, time at which approval request state changed from pending to approved or rejected. | string |
| ticketId | Ticket ID for the approval request | string |
Approver
| Name | Description | Value |
|---|---|---|
| actionPerformed | Action Performed by approver | 'Approved' 'Rejected' |
| approverEntraId | Entra ObjectID of the approver | string (required) |
| lastUpdatedAt | approval request last updated at | string (required) |
RequestMetadata
| Name | Description | Value |
|---|---|---|
| approvalCallbackPayload | Payload to be sent upon any action on approval request | string |
| approvalCallbackRoute | Route name for the approval callback | string |
| approvalStatus | Status of the approval. Uses ApprovalStatus enum. | 'Approved' 'Deleted' 'Expired' 'Pending' 'Rejected' |
| resourceAction | Resource Action of the item being approved or declined. | string (required) |