Azure-Sentinel: Logic apps that are triggered by 'Incident Creation' at times get stuck - and do not execute on trigger
Describe the bug Rarely but it occurs regularly the consumption logic app that has the following trigger:
{
"type": "ApiConnectionWebhook",
"inputs": {
"host": {
"connection": {
"referenceName": "azuresentinel"
}
},
"body": {
"callback_url": "@{listCallbackUrl()}"
},
"path": "/incident-creation"
}
}
Get’s ‘stuck’ and no longer triggers. The only way to solve this issue is to disable/enable the logic app. This can cause a lot of damage in case a logic app which is supposed to send an escalation, and does not do so. There is no information that would imply that the trigger had been made and failed, so no alerting is possible - this is a critical issue that we’ve had for quite some time but hadn’t been reported yet.
There are a lot of missed triggers, and only after it had been restarted it started picking up new ones (note the date differences between actions, I’ve restarted it on 07.03 - and that’s where you see it start to pick up the slack again)
This seems to be an issue with logic apps consumption themselves, so not sure if this is the valid place to raise this. But it should raise awareness of this critical issue.
To Reproduce Steps to reproduce the behavior:
- Have a long standing recurring logic app that does ‘something’
- After a few months of working fine it gets ‘stuck’
- It no longer fires triggers
- Restart the logic app and it starts working again
Expected behavior A logic app that has an event trigger should not get stuck 😃
Screenshots See above
Additional context This is not a one time issue, this has been happening over the past year multiple times, causing SLA breaches and missed critical incidents. We can’t afford to have this be ignored.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (13 by maintainers)
@Kaloszer we are seeing a very similar issue I think there is some kind of capacity problem in at the very least North Central US region. This article is very helpful Monitor the health of your Microsoft Sentinel automation rules and playbooks | Microsoft Learn. Once you have it configured you can query the Sentinel Health logs and see playbooks failing to even get kicked off.
Here is an example of what we are seeing
Hi @Kaloszer ,As discussed on Monday, will be raising ICM for this issue and will post updates over an email ,as per our standard operating procedures. If you still need support for this issue(https://github.com/Azure/Azure-Sentinel/issues/10106), feel free to re-open at any time. Thank you for your co-operation!