Using the trigger: Microsoft Graph Security, On all new alerts
I filter it to only trigger on IPC alerts, this works fine.
I send the user an adaptive card for the IPC alert, where the user can select if they are compromised or not.
In the Responds flow for the adaptive card I then set the Risky User in Azure status to dismissed or Compromised. Everything up until now works great.
I then use the action Microsoft Graph Security: Update Alert
As soon as the Alert is updated, for example I set the status of the alert to completed, or add a tag or comment, then the first flow is triggered again, this should not happen, it is not a new alert.
This means the Microsoft Graph Security, On all new alerts is triggering when an alert status is updated also or anything changes in the alert, this is for me not expected behavior as it creates a loop, the user respond to using the adaptive card the Alert status is updated and the user gets the same email in a loop.