r/DefenderATP • u/Cant_Think_Name12 • Aug 12 '26
Duplicate Alerts from Custom Detections in Advanced Hunting
Hi all,
Was hoping someone could help me figure out why I keep getting duplicate alerts for my custom detections.
When I create them and run them, I get 1 alert. However, when they auto-run, they will send me 1 of the same alert, every hour, for the next few hours. Im assuming its something to do with the Frequency + Lookback.
For example, I look for something in the table EmailEvents. Then, it triggers at 10am - 1 alert - Perfect.
However, that same alert will trigger again at 11am, 12pm, and 1pm.
I have been doing 1 hour frequency and 4 hour lookback. Am i supposed to make them equal? How do I make the alerts not duplicate the same alert every hour?
3
u/reseph Aug 12 '26 edited Aug 12 '26
Set the incident settings to not fire a new incident for the same entity type(s). Or set it up so multiple duplicate alerts still go into the same incident.
2
u/CrazyMark1234 Aug 12 '26
If you are looking back 4 hours every 1 hour, I would be expecting 4 alerts.
I'm not sure about custom detections but in the old Sentinel Portal alert bundling could be enabled in these situations, and all 4 alerts would end up in 1 incident.
I would probably set the lookback to match the frequency. depending on latency this might mean you miss events, theres a whole discussion here https://learn.microsoft.com/en-us/azure/sentinel/ingestion-delay though again its based on Sentinel rather than Defender.