Investigating OrgLevelAction in Microsoft Defender XDR.
The message was suspicious.
Microsoft identified it.
ThreatTypes classified it.
DetectionMethods explained why.
But Agent Foskett still needed to answer one important question.
What action did the organisation's security policies actually take?
In Microsoft Defender XDR, OrgLevelAction helps defenders understand how organisational policies influenced the handling of suspicious email messages.
Lesson overview
Learn how to investigate organisational policy actions and connect those decisions to threat classification, delivery outcomes and user exposure evidence.
Why OrgLevelAction matters
The fields used in this lesson
Step 1 — Review OrgLevelAction
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
EmailEvents | where Timestamp > ago(30d) | where isnotempty(OrgLevelAction) | project Timestamp, SenderFromAddress, RecipientEmailAddress, Subject, OrgLevelAction, ThreatTypes | order by Timestamp desc
Step 2 — Summarise policy actions
- 1
- 2
- 3
- 4
- 5
- 6
- 7
EmailEvents | where Timestamp > ago(30d) | where isnotempty(OrgLevelAction) | summarize MessageCount = count() by OrgLevelAction | order by MessageCount desc
Step 3 — Investigate quarantined messages
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
EmailEvents | where Timestamp > ago(30d) | where OrgLevelAction has "Quarantine" | project Timestamp, SenderFromAddress, RecipientEmailAddress, Subject, ThreatTypes, OrgLevelAction, DeliveryAction | order by Timestamp desc
Step 4 — Investigate blocked messages
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
EmailEvents | where Timestamp > ago(30d) | where OrgLevelAction has "Block" | project Timestamp, SenderFromAddress, RecipientEmailAddress, Subject, ThreatTypes, DetectionMethods, OrgLevelAction | order by Timestamp desc
Step 5 — Compare threat types and policy actions
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
EmailEvents | where Timestamp > ago(30d) | summarize MessageCount = count() by ThreatTypes, OrgLevelAction, DeliveryAction | order by MessageCount desc
Step 6 — Review delivered messages
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
EmailEvents | where Timestamp > ago(30d) | where DeliveryAction =~ "Delivered" | project Timestamp, SenderFromAddress, RecipientEmailAddress, Subject, ThreatTypes, OrgLevelAction, DeliveryLocation | order by Timestamp desc
