Escalations
These webhooks are triggered when a resource is found to be non-compliant and the responsible owners have not taken corrective action. Based on the associated policy, an escalation is initiated at a predefined time. The webhook that is triggered is the one specified within that policy.
HTTP Request
POST YourApiUrl
Content-Type: application/json
The payload content varies depending on the resource escalating.
- Team
- Guest
- SharePoint site
This payload is sent to the webhook when a Team was deemed incompliant and no action by the owners triggered an escalation.
{
"escalationType": 3,
"group": {
"id": "56be0fca-55e0-4312-a722-88282b2251f0",
"displayName": "SG_EL_SPO_22ad6607_6f55_4e69_be5f_f33f91e3f58c",
"mailNickname": "elg_22ad6607_6f55_4e69_be5f_f33f91e3f58c",
"createdDateTime": "2024-05-06T09:30:13+00:00",
"metadata": {
"additionalData": {
"extensionName": "cloud.easyLife.metadata",
"id": "cloud.easyLife.metadata"
}
},
"policy": {
"pId": "427d4fed-6c95-42d7-9aaa-df0f752ebbfc",
"noEsca": false,
"coStCh": "2025-05-31T23:59:59+00:00",
"coSt": "escalate",
"coSta": "incompliant",
"coCh": "2025-05-30T23:59:59+00:00",
"exStCh": "2025-05-31T23:59:59+00:00",
"exSt": "escalate",
"exSta": "incompliant",
"exCh": "2025-05-30T23:59:59+00:00",
"exFeDa": "2025-05-30T13:19:54.3660931+00:00",
"owStCh": "2025-05-30T23:59:59+00:00",
"owSt": "escalate",
"owSta": "incompliant",
"maxOwSta": "compliant",
"arStCh": "2025-05-31T23:59:59+00:00",
"arSt": "escalate",
"arSta": "incompliant",
"arCh": "2025-05-30T23:59:59+00:00",
"clSta": "incompliant",
"clCh": "2025-05-30T23:59:59+00:00",
"clStCh": "2025-05-31T23:59:59+00:00",
"clSt": "escalate"
},
"isArchived": false,
"groupTypes": [],
"visibility": "Private",
"easylife365_group": {
"resourceType": "TeamSite",
"policyId": "427d4fed-6c95-42d7-9aaa-df0f752ebbfc",
"extensionAttribute1": "22ad6607-6f55-4e69-be5f-f33f91e3f58c",
"extensionAttribute2": "My Group Creation",
"extensionAttribute3": "https://nuborocks.sharepoint.com/sites/mygroupcreation1",
"isCompliant": false
},
"extensions": [
{
"pId": "427d4fed-6c95-42d7-9aaa-df0f752ebbfc",
"noEsca": false,
"coStCh": "2025-05-31T23:59:59.0000000Z",
"coSt": "escalate",
"coSta": "incompliant",
"coCh": "2025-05-30T23:59:59.0000000Z",
"exStCh": "2025-05-31T23:59:59.0000000Z",
"exSt": "escalate",
"exSta": "incompliant",
"exCh": "2025-05-30T23:59:59.0000000Z",
"exFeDa": "2025-05-30T13:19:54.3660931Z",
"owStCh": "2025-05-30T23:59:59.0000000Z",
"owSt": "escalate",
"owSta": "incompliant",
"maxOwSta": "compliant",
"arStCh": "2025-05-31T23:59:59.0000000Z",
"arSt": "escalate",
"arSta": "incompliant",
"arCh": "2025-05-30T23:59:59.0000000Z",
"clSta": "incompliant",
"clCh": "2025-05-30T23:59:59.0000000Z",
"clStCh": "2025-05-31T23:59:59.0000000Z",
"clSt": "escalate",
"extensionName": "cloud.easyLife.policy",
"id": "cloud.easyLife.policy"
},
{
"extensionName": "cloud.easyLife.metadata",
"id": "cloud.easyLife.metadata"
}
]
}
}
This payload is sent to the webhook when the owners did not take any action and an escalation got triggered.
{
"escalationType": 0,
"guest": {
"id": "0049d80d-0ccd-4810-8d1b-4b60de631718",
"userType": "Guest",
"userPrincipalName": "sara_easylife365demo.onmicrosoft.com#EXT#@nuborocks.onmicrosoft.com",
"givenName": "Sara",
"externalUserStateChangeDateTime": "2025-05-29T13:58:20+00:00",
"externalUserState": "Accepted",
"displayName": "Sara",
"createdDateTime": "2025-05-29T13:52:56+00:00",
"businessPhones": [],
"accountEnabled": true,
"mail": "sara@easylife365demo.onmicrosoft.com",
"surname": "Demo",
"extensions": [
{
"pId": "a4218704-8fc2-4357-9c9a-f4993ac33b95",
"adSta": "compliant",
"noEsca": false,
"owSta": "compliant",
"coStCh": "2025-05-31T23:59:59.0000000Z",
"coSt": "escalate",
"coSta": "incompliant",
"coCh": "2025-05-29T23:59:59.0000000Z",
"inStCh": "2025-05-31T23:59:59.0000000Z",
"inSt": "escalate",
"inSta": "incompliant",
"inCh": "2025-05-30T23:59:59.0000000Z",
"invSta": "compliant",
"invCh": "2025-05-29T23:59:59.0000000Z",
"clSta": "incompliant",
"clCh": "2025-05-29T23:59:59.0000000Z",
"clStCh": "2025-05-31T23:59:59.0000000Z",
"clSt": "escalate",
"extensionName": "cloud.easyLife.policy",
"id": "cloud.easyLife.policy"
},
{
"extensionName": "cloud.easyLife.metadata",
"id": "cloud.easyLife.metadata"
}
],
"metadataExtension": {
"additionalData": {
"extensionName": "cloud.easyLife.metadata",
"id": "cloud.easyLife.metadata"
}
},
"policyExtension": {
"pId": "a4218704-8fc2-4357-9c9a-f4993ac33b95",
"adSta": "compliant",
"noEsca": false,
"owSta": "compliant",
"coStCh": "2025-05-31T23:59:59+00:00",
"coSt": "escalate",
"coSta": "incompliant",
"coCh": "2025-05-29T23:59:59+00:00",
"inStCh": "2025-05-31T23:59:59+00:00",
"inSt": "escalate",
"inSta": "incompliant",
"inCh": "2025-05-30T23:59:59+00:00",
"invSta": "compliant",
"invCh": "2025-05-29T23:59:59+00:00",
"clSta": "incompliant",
"clCh": "2025-05-29T23:59:59+00:00",
"clStCh": "2025-05-31T23:59:59+00:00",
"clSt": "escalate"
},
"easylife365_user": {
"policyId": "a4218704-8fc2-4357-9c9a-f4993ac33b95",
"requestId": "048aee8f-25c4-4b66-8c2a-3e37958ae7a8",
"isCompliant": false,
"primaryOwner": "d3f0fe0f-ad34-4eb2-af61-953ea3a76031",
"secondaryOwner": "63b4a6c4-4391-45c4-b9e4-61974ae5f23d",
"hasOwners": true
},
"easylife365_usermetadata": {
"policyId": "a4218704-8fc2-4357-9c9a-f4993ac33b95",
"requestId": "048aee8f-25c4-4b66-8c2a-3e37958ae7a8",
"isCompliant": false,
"primaryOwner": "d3f0fe0f-ad34-4eb2-af61-953ea3a76031",
"secondaryOwner": "63b4a6c4-4391-45c4-b9e4-61974ae5f23d",
"hasOwners": true
},
"onPremisesExtensionAttributes": {}
}
}
This payload is sent to the webhook when a SharePoint site escalates.
{
"escalationType": 4,
"group": {
"id": "56be0fca-55e0-4312-a722-88282b2251f0",
"displayName": "SG_EL_SPO_22ad6607_6f55_4e69_be5f_f33f91e3f58c",
"mailNickname": "elg_22ad6607_6f55_4e69_be5f_f33f91e3f58c",
"createdDateTime": "2024-05-06T09:30:13+00:00",
"metadata": {
"additionalData": {
"extensionName": "cloud.easyLife.metadata",
"id": "cloud.easyLife.metadata"
}
},
"policy": {
"pId": "427d4fed-6c95-42d7-9aaa-df0f752ebbfc",
"noEsca": false,
"coStCh": "2025-05-31T23:59:59+00:00",
"coSt": "escalate",
"coSta": "incompliant",
"coCh": "2025-05-30T23:59:59+00:00",
"exStCh": "2025-05-31T23:59:59+00:00",
"exSt": "escalate",
"exSta": "incompliant",
"exCh": "2025-05-30T23:59:59+00:00",
"exFeDa": "2025-05-30T13:19:54.3660931+00:00",
"owStCh": "2025-05-30T23:59:59+00:00",
"owSt": "escalate",
"owSta": "incompliant",
"maxOwSta": "compliant",
"arStCh": "2025-05-31T23:59:59+00:00",
"arSt": "escalate",
"arSta": "incompliant",
"arCh": "2025-05-30T23:59:59+00:00",
"clSta": "incompliant",
"clCh": "2025-05-30T23:59:59+00:00",
"clStCh": "2025-05-31T23:59:59+00:00",
"clSt": "escalate"
},
"isArchived": false,
"groupTypes": [],
"visibility": "Private",
"easylife365_group": {
"resourceType": "TeamSite",
"policyId": "427d4fed-6c95-42d7-9aaa-df0f752ebbfc",
"extensionAttribute1": "22ad6607-6f55-4e69-be5f-f33f91e3f58c",
"extensionAttribute2": "My Group Creation",
"extensionAttribute3": "https://nuborocks.sharepoint.com/sites/mygroupcreation1",
"isCompliant": false
},
"extensions": [
{
"pId": "427d4fed-6c95-42d7-9aaa-df0f752ebbfc",
"noEsca": false,
"coStCh": "2025-05-31T23:59:59.0000000Z",
"coSt": "escalate",
"coSta": "incompliant",
"coCh": "2025-05-30T23:59:59.0000000Z",
"exStCh": "2025-05-31T23:59:59.0000000Z",
"exSt": "escalate",
"exSta": "incompliant",
"exCh": "2025-05-30T23:59:59.0000000Z",
"exFeDa": "2025-05-30T13:19:54.3660931Z",
"owStCh": "2025-05-30T23:59:59.0000000Z",
"owSt": "escalate",
"owSta": "incompliant",
"maxOwSta": "compliant",
"arStCh": "2025-05-31T23:59:59.0000000Z",
"arSt": "escalate",
"arSta": "incompliant",
"arCh": "2025-05-30T23:59:59.0000000Z",
"clSta": "incompliant",
"clCh": "2025-05-30T23:59:59.0000000Z",
"clStCh": "2025-05-31T23:59:59.0000000Z",
"clSt": "escalate",
"extensionName": "cloud.easyLife.policy",
"id": "cloud.easyLife.policy"
},
{
"extensionName": "cloud.easyLife.metadata",
"id": "cloud.easyLife.metadata"
}
]
}
}
The escalationType
indicates the type of policy that triggered an escalation. These escalation types correspond to specific governance or compliance policies applied to a resource (such as a group, team, or SharePoint site). Not all policy types are necessarily applicable to every resource — their availability depends on the configuration, policy scope, and the type of resource in question.
Not all escalation types are applicable to all resources. Availability depends on the resource type and configured policies in the system.
escalationType | Policy Type | Description |
---|---|---|
0 | Confirmation | The resource requires periodic confirmation of its continued relevance. |
1 | Minimum Owners | The number of owners is below the defined minimum threshold. |
2 | Expiration | The resource is nearing or has passed its expiration date. |
3 | No Owners | The resource has no assigned owners. |
4 | Access Review | An access review policy requires verification of user access or permissions. |
5 | Template | The resource lacks mandatory template metadata. |
6 | Archival | The resource has been flagged for archival due to inactivity or aging. |
7 | No Owners And Members | The resource has neither owners nor members, indicating potential neglect. |
8 | Maximum Owners | The number of owners exceeds the defined maximum limit. |
Response
A status 200 OK is expected with no body.