Agent Foskett Academy • Lesson 73 • URL Click Investigation
Advanced UrlClickEvents Investigations in Microsoft Defender XDR.
The phishing email looked convincing.
The sender passed casual inspection.
The user opened the message.
But Agent Foskett needed to answer the question that mattered most.
Did anyone actually click the link?
The answer was hidden inside UrlClickEvents.
Lesson overview
Learn how defenders use UrlClickEvents to investigate Safe Links activity, user clicks, phishing URLs, click outcomes and post-delivery evidence in Microsoft Defender XDR.
Review recent URL clicks
Identify users who clicked phishing links
Correlate EmailEvents with UrlClickEvents
Build stronger phishing timelines
Why UrlClickEvents matters
Receiving a phishing email is not always the incident. The investigation often changes when a user clicks the link.
It shows user interactionUrlClickEvents helps defenders determine whether a user actually clicked a link inside a suspicious email.
It records click outcomesThe table helps explain whether the click was allowed, blocked, scanned or handled by Microsoft Safe Links protection.
It supports phishing timelinesClick evidence can be correlated with delivery, sender, recipient and endpoint activity to understand what happened after the email arrived.
The fields used in this lesson
TimestampThe time the URL click event was recorded.
AccountUpnThe user account associated with the URL click.
UrlThe URL that was clicked or evaluated.
ActionTypeThe action or outcome Microsoft recorded for the click.
NetworkMessageIdA message identifier that can help correlate URL click evidence back to the original email.
DeviceNameThe device context associated with the click when available.
Step 1 — Review recent URL clicks
Start by reviewing recent UrlClickEvents activity to understand who clicked links and when.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
UrlClickEvents
| where Timestamp > ago(7d)
| project Timestamp,
AccountUpn,
Url,
ActionType,
NetworkMessageId
| order by Timestamp desc
Step 2 — Investigate a specific user
When a user reports a phishing email, review their recent URL click activity to determine whether they interacted with the message.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
UrlClickEvents
| where Timestamp > ago(30d)
| where AccountUpn == "user@contoso.com"
| project Timestamp,
AccountUpn,
Url,
ActionType,
NetworkMessageId
| order by Timestamp desc
Step 3 — Find clicks for suspicious URLs
Search for suspicious words, domains or URL patterns commonly seen in phishing campaigns.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
UrlClickEvents
| where Timestamp > ago(30d)
| where Url has_any ("login", "verify", "secure", "password", "invoice")
| project Timestamp,
AccountUpn,
Url,
ActionType,
NetworkMessageId
| order by Timestamp desc
Step 4 — Summarise clicks by user
Use summarisation to understand whether one user clicked repeatedly or whether a campaign affected multiple users.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
UrlClickEvents
| where Timestamp > ago(30d)
| summarize ClickCount = count(),
FirstClick = min(Timestamp),
LastClick = max(Timestamp)
by AccountUpn
| order by ClickCount desc
Step 5 — Correlate UrlClickEvents with EmailEvents
Join click activity back to email delivery evidence using NetworkMessageId where available.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
EmailEvents
| where Timestamp > ago(30d)
| project EmailTime = Timestamp, NetworkMessageId, Subject, SenderFromAddress, RecipientEmailAddress
| join kind=inner (
UrlClickEvents
| where Timestamp > ago(30d)
| project ClickTime = Timestamp, NetworkMessageId, AccountUpn, Url, ActionType
) on NetworkMessageId
| project EmailTime, ClickTime, Subject, SenderFromAddress, RecipientEmailAddress, AccountUpn, Url, ActionType
| order by ClickTime desc
Step 6 — Build a click investigation timeline
Create a clean timeline that shows delivery context and click activity together.
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
EmailEvents
| where Timestamp > ago(30d)
| join kind=leftouter (
UrlClickEvents
| where Timestamp > ago(30d)
| project ClickTime = Timestamp,
NetworkMessageId,
AccountUpn,
Url,
ActionType
) on NetworkMessageId
| project EmailTime = Timestamp,
ClickTime,
SenderFromAddress,
RecipientEmailAddress,
Subject,
AccountUpn,
Url,
ActionType
| order by EmailTime desc, ClickTime desc
How to read the results
UrlClickEvents evidence should be interpreted alongside the original email, the recipient, the URL and the click outcome.
A click changes the riskIf a user clicked a phishing link, the investigation may need to expand into identity, endpoint and mailbox review.
Blocked does not always mean harmlessA blocked click still shows user intent and may indicate who was targeted or who needs follow-up awareness.
Correlate before concludingUse EmailEvents, NetworkMessageId, Subject and sender fields to confirm which email generated the click.
Common investigation uses
User-reported phishingConfirm whether the reporting user clicked the link before or after submitting the email.
Campaign scopingIdentify all users who clicked URLs related to the same phishing campaign.
Safe Links reviewUnderstand whether Microsoft allowed, blocked or otherwise processed the URL click.
Post-click investigationPivot from URL clicks into endpoint, identity and browser activity when a click may have led to compromise.
Common mistakes
Only checking EmailEventsThe email may look contained, but UrlClickEvents can reveal that users interacted with the threat.
Ignoring timingA click three days after delivery can still matter. Always review timestamps and user activity windows.
Assuming all clicks are equalAllowed, blocked, rewritten and scanned clicks can mean different things during an investigation.
What you learned
UrlClickEvents shows interactionIt helps defenders determine whether users clicked links related to suspicious emails.
Click evidence supports timelinesClick timestamps help explain what happened after email delivery.
Correlation is the keyEmailEvents and UrlClickEvents together provide a stronger phishing investigation than either table alone.
Worked investigation — one phishing link, three affected users
This fictional case demonstrates how to interpret click evidence rather than assuming every recorded click represents a compromise.
1. Confirm deliveryStart with the reported message in EmailEvents. Record the NetworkMessageId, recipient, subject and delivery time. Keep the message identifier as your correlation key.
2. Check the click outcomeUse UrlClickEvents to find matching records. Compare AccountUpn, Timestamp, Url and ActionType. A blocked Safe Links event is not proof that the destination was visited.
3. Expand the scopeSearch for the same suspicious URL across other users. In this example, three users received the lure: one click was blocked, one was permitted, and one user has no recorded click.
4. Investigate the permitted clickReview identity sign-ins, browser and endpoint telemetry around the click time. Look for suspicious authentication, downloads or process activity; a permitted click alone does not prove account compromise.
5. Document the evidenceRecord the delivery time, click time, user, URL, action outcome and supporting signals. Distinguish confirmed events from assumptions, and escalate based on the evidence.
Agent Foskett's conclusion“The email was delivered to three people. That doesn't mean three people visited the site — and it certainly doesn't mean three accounts were compromised.”
Related Agent Foskett Academy lessons
Investigating UrlClickEventsUnderstand the core UrlClickEvents table and how it supports Microsoft Defender XDR investigations.
Investigating EmailEventsReview the original email delivery evidence before analysing click activity.
Investigating NetworkMessageIdConnect the same email across message, URL, click and attachment telemetry.
Investigating RecipientEmailAddressIdentify which mailboxes received suspicious messages.
Investigating SubjectGroup phishing lures and campaign themes by subject line.
Connecting Tables with joinLearn how defenders connect related tables during Microsoft security investigations.
Coming next
Lesson 74 — Investigating UrlChain in Microsoft Defender XDRNext, Agent Foskett Academy will explain how defenders use UrlChain to follow redirects from the original clicked link through to the final destination.
Why this mattersAdvanced UrlClickEvents investigations show who clicked. UrlChain helps explain where the click actually went.
Final thought
A phishing email matters. A user click can turn that email into an active incident.
Agent Foskett mindsetDo not stop at delivery. Follow the click and confirm what the user actually did.
The click tells the next chapterUrlClickEvents helps defenders move from email evidence into real user interaction and possible compromise.
Develop IT. Protect IT.GEMXIT PTY LTD | GEMXIT UK LTD
