Metadata
These webhooks are triggered when a resource's metadata is updated. Configuration options in templates or provisioning actions allow you to customize notifications to meet your specific needs.
HTTP Request
POST YourApiUrl
Content-Type: application/json
The payload content varies depending on the specific resource being provisioned.
- Distribution List
- Shared Mailbox
- Equipment Mailbox
- Room Mailbox
This payload is sent to the webhook when the metadata of a Distribution List changes.
{
"eventType": "distributionlistmodified",
"mail": {
"managedBy": [
"6a95c23b-cbb3-4f06-9b05-5e96ac65c78c"
],
"displayName": "TestDL",
"emailAddresses": [
"SMTP:TestDL@mydomain.test"
],
"id": "fd36d8f9-1b31-49ad-b814-42353ced7c10",
"name": "TestDL",
"description": [
"TestDL"
],
"metadata": {
"additionalData": {
"tId": "03bf9294-8722-4c8e-977a-9458bec73f6d"
}
},
"policy": {}
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when the metadata of a Shared Mailbox changes.
{
"eventType": "mailboxcreated",
"mailBox": {
"id": "bd93fda7-ab6c-4d69-acc6-175e86fa3c33",
"displayName": "TestSM",
"mail": "TestSM@mydomain.test",
"metadata": {
"additionalData": {
"tId": "71d683e5-0936-4c50-8fdb-5e8305bf2a5a"
}
},
"policy": {},
"schema": {
"ResourceType": "SharedMailbox",
"TemplateId": "71d683e5-0936-4c50-8fdb-5e8305bf2a5a",
"PrimaryOwner": "6a95c23b-cbb3-4f06-9b05-5e96ac65c78c",
"HasOwners": true,
"AdditionalData": {
"quinaryOwnerType": null,
"quaternaryOwnerType": null,
"tertiaryOwnerType": null,
"secondaryOwnerType": null,
"primaryOwnerType": null,
"quinaryOwner": null,
"quaternaryOwner": null,
"tertiaryOwner": null
},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"OdataType": "#microsoft.graph.ComplexExtensionValue"
},
"isDirSynced": false
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when the metadata of a Equipment Mailbox changes.
{
"eventType": "mailboxcreated",
"mailBox": {
"id": "bd93fda7-ab6c-4d69-acc6-175e86fa3c33",
"displayName": "Test Equipment Mailbox",
"mail": "TestEM@mydomain.test",
"metadata": {
"additionalData": {
"tId": "71d683e5-0936-4c50-8fdb-5e8305bf2a5a"
}
},
"policy": {},
"schema": {
"ResourceType": "EquipmentMailbox",
"TemplateId": "71d683e5-0936-4c50-8fdb-5e8305bf2a5a",
"PrimaryOwner": "6a95c23b-cbb3-4f06-9b05-5e96ac65c78c",
"HasOwners": true,
"AdditionalData": {
"quinaryOwnerType": null,
"quaternaryOwnerType": null,
"tertiaryOwnerType": null,
"secondaryOwnerType": null,
"primaryOwnerType": null,
"quinaryOwner": null,
"quaternaryOwner": null,
"tertiaryOwner": null
},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"OdataType": "#microsoft.graph.ComplexExtensionValue"
},
"isDirSynced": false
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when the metadata of a Room Mailbox changes.
{
"eventType": "mailboxcreated",
"mailBox": {
"id": "bd93fda7-ab6c-4d69-acc6-175e86fa3c33",
"displayName": "Test Room Mailbox",
"mail": "TestRM@mydomain.test",
"metadata": {
"additionalData": {
"tId": "71d683e5-0936-4c50-8fdb-5e8305bf2a5a"
}
},
"policy": {},
"schema": {
"ResourceType": "RoomMailbox",
"TemplateId": "71d683e5-0936-4c50-8fdb-5e8305bf2a5a",
"PrimaryOwner": "6a95c23b-cbb3-4f06-9b05-5e96ac65c78c",
"HasOwners": true,
"AdditionalData": {
"quinaryOwnerType": null,
"quaternaryOwnerType": null,
"tertiaryOwnerType": null,
"secondaryOwnerType": null,
"primaryOwnerType": null,
"quinaryOwner": null,
"quaternaryOwner": null,
"tertiaryOwner": null
},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"OdataType": "#microsoft.graph.ComplexExtensionValue"
},
"isDirSynced": false
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
Response
A status 200 OK is expected with no body.