Provisioning
These webhooks are triggered when a resource is created. Configuration options in templates or provisioning actions allow you to customize notifications according to your specific needs.
HTTP Request
POST YourApiUrl
Content-Type: application/json
The payload content varies depending on the specific resource being provisioned.
- Team
- SharePoint site
- Viva engage site
- Planner
- One note
This payload is sent to the webhook when a Team was created.
{
"eventType": "groupcreated",
"user": {
"id": "d3c2ced5-6470-4be6-b655-9dd740be7135",
"userType": "Member",
"userPrincipalName": "pla@nuborocks.onmicrosoft.com",
"givenName": "Patrick",
"displayName": "Patrick Lamber",
"department": "DEV",
"createdDateTime": "2023-02-06T06:43:27+00:00",
"companyName": "NUBO",
"businessPhones": [],
"accountEnabled": true,
"mail": "pla@easymenu365.cloud",
"surname": "Lamber",
"preferredLanguage": "en-US",
"officeLocation": "SOUTH",
"onPremisesExtensionAttributes": {}
},
"group": {
"id": "3d7b56b2-30e8-457c-8ddb-0312f73d1362",
"displayName": "Learning Team",
"mailNickname": "learningteam",
"createdDateTime": "2023-11-10T15:22:11+00:00",
"metadata": {
"tId": "2fd0dba8-d2fe-4b51-866b-622d7fa3c22b",
"additionalData": {
"tId": "2fd0dba8-d2fe-4b51-866b-622d7fa3c22b"
}
}
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when a SharePoint site is created.
{
"eventType": "sharepointcreated",
"url": "https://nuborocks.sharepoint.com/sites/intranetsite",
"user": {
"id": "d3c2ced5-6470-4be6-b655-9dd740be7135",
"userType": "Member",
"userPrincipalName": "pla@nuborocks.onmicrosoft.com",
"givenName": "Patrick",
"displayName": "Patrick Lamber",
"department": "DEV",
"createdDateTime": "2023-02-06T06:43:27+00:00",
"companyName": "NUBO",
"businessPhones": [],
"accountEnabled": true,
"mail": "pla@easymenu365.cloud",
"surname": "Lamber",
"preferredLanguage": "en-US",
"officeLocation": "SOUTH",
"onPremisesExtensionAttributes": {}
},
"group": {
"id": "94e8ab15-d134-4936-a260-7f862b6eac52",
"displayName": "Intranet Site",
"description": "This is a sample intranet payload",
"mailNickname": "elg_bfb96a71_b8d4_4f51_8182_086da36ce721",
"createdDateTime": "2023-11-10T15:21:23+00:00",
"metadata": {
"tId": "fc6ffbd8-f7f0-4c05-b707-227d233b9e1b",
"additionalData": {
"tId": "fc6ffbd8-f7f0-4c05-b707-227d233b9e1b"
}
},
"easylife365_group": {
"resourceType": "CommunicationSite",
"templateId": "fc6ffbd8-f7f0-4c05-b707-227d233b9e1b",
"extensionAttribute1": "bfb96a71-b8d4-4f51-8182-086da36ce721",
"extensionAttribute2": "Intranet Site",
"extensionAttribute3": "https://nuborocks.sharepoint.com/sites/intranetsite",
"isCompliant": false
}
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when a viva engage community site is created.
{
"eventType": "groupcreated",
"user": {
"id": "d3f0fe0f-ad34-4eb2-af61-953ea3a76031",
"userType": "Member",
"userPrincipalName": "me@mycustomdomain.meee",
"givenName": "me",
"displayName": "me again",
"createdDateTime": "2021-06-14T04:53:35+00:00",
"companyName": "EasyLife",
"businessPhones": [],
"accountEnabled": true,
"mail": "me@mycustomdomain.meee",
"surname": "again",
"preferredLanguage": "en-US",
"officeLocation": "Apatulco",
"onPremisesExtensionAttributes": {}
},
"group": {
"id": "98b48eff-389d-471c-8eb2-554ff2806aea",
"displayName": "Viva Site",
"description": "Viva Site",
"mailNickname": "vivasite",
"createdDateTime": "2024-07-03T09:18:21+00:00",
"metadata": {
"tId": "c0845ac1-3a3c-4c3e-8230-4e760898fa8c",
"additionalData": {
"tId": "c0845ac1-3a3c-4c3e-8230-4e760898fa8c",
"el-text-172": "world",
"yUrl": "https://web.yammer.com/groups/eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI1MDMwNjY1NDIwOSJ9"
}
},
"policy": {
"pId": "5f9aee53-503a-4968-a833-9a8245bfbd90",
"isArchived": false,
"noEsca": false,
"coSta": "compliant",
"coCh": "2024-07-03T23:59:59+00:00",
"exSta": "compliant",
"exCh": "2024-07-03T23:59:59+00:00",
"owSta": "compliant",
"arSta": "compliant",
"arCh": "2024-07-03T23:59:59+00:00",
"clSta": "compliant",
"clCh": "2024-07-03T23:59:59+00:00",
"arcSta": "compliant"
},
"isArchived": false
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when a provisioining action for a planner is triggered.
{
"eventType": "plannercreated",
"user": {
"id": "d3f0fe0f-ad34-4eb2-af61-953ea3a76031",
"userType": "Member",
"userPrincipalName": "me@mycustomdomain.meee",
"givenName": "a",
"displayName": "a b",
"createdDateTime": "2021-06-14T04:53:35+00:00",
"companyName": "EasyLife",
"businessPhones": [],
"accountEnabled": true,
"mail": "me@mycustomdomain.meeem",
"surname": "b",
"preferredLanguage": "en-US",
"officeLocation": "asdf",
"onPremisesExtensionAttributes": {}
},
"group": {
"id": "aad87fd7-c480-4048-92b2-e4717e146d2f",
"displayName": "Prov action test",
"mailNickname": "provactiontest",
"createdDateTime": "2024-07-03T12:50:05+00:00",
"metadata": {
"tId": "f1156c37-e5dd-48bb-8d90-e5529d83fb51",
"additionalData": {
"tId": "f1156c37-e5dd-48bb-8d90-e5529d83fb51"
}
}
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when a provisioining action for a OneNote is triggered.
{
"eventType": "onenotecreated",
"user": {
"id": "d3f0fe0f-ad34-4eb2-af61-953ea3a76031",
"userType": "Member",
"userPrincipalName": "me@mycustomdomain.meee",
"givenName": "a",
"displayName": "a b",
"createdDateTime": "2021-06-14T04:53:35+00:00",
"companyName": "EasyLife",
"businessPhones": [],
"accountEnabled": true,
"mail": "me@mycustomdomain.meeem",
"surname": "b",
"preferredLanguage": "en-US",
"officeLocation": "asdf",
"onPremisesExtensionAttributes": {}
},
"group": {
"id": "a62b5cc1-6694-4d3d-a0ec-1552ee8ea362",
"displayName": "fda",
"description": "asdf",
"mailNickname": "fda",
"createdDateTime": "2024-07-03T13:18:08+00:00",
"metadata": {
"tId": "fe73a5e0-5763-4473-9fe1-5e39bbbdb0e1",
"additionalData": {
"tId": "fe73a5e0-5763-4473-9fe1-5e39bbbdb0e1",
"el-field-4774": "fdsa"
}
}
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
Response
A status 200 OK is expected with no body.