azureblog.co.uk
← SC-200 study plan
SC-200 · Respond to security incidents

Investigate Microsoft 365 activities

Using Purview Audit, eDiscovery content search and Microsoft Graph activity logs to investigate threats.

  • 12 min
  • 3 concepts
  • Try it yourself
  • 3-question check

Learn

When an account is compromised, you need to know what the attacker did inside Microsoft 365: which mail they read, which files they took, what rules they created, and which APIs they called.

  1. 1

    Investigate threats by using Microsoft Purview Audit

    Search the unified audit log by user, activity and date: new inbox rules (New-InboxRule), mailbox permission changes, file downloads and sharing, admin role changes. Audit (Premium) adds MailItemsAccessed (which emails were opened, by sync or bind) and longer retention, essential for scoping a mailbox compromise. Also searchable with Search-UnifiedAuditLog or the Audit Search Graph API.

    Remember: Which emails did the attacker read? MailItemsAccessed.

  2. 2

    Investigate threats by using Content search in Microsoft Purview eDiscovery

    Content search (in eDiscovery) finds email and documents across mailboxes, SharePoint, OneDrive and Teams by keywords, sender, dates and conditions, for example every copy of a phishing email. Export results or, for email, use purge actions (New-ComplianceSearchAction -Purge) to remove them.

    Remember: Find every copy of the phishing email: content search.

  3. 3

    Investigate threats by using Microsoft Graph activity logs

    Microsoft Graph activity logs record HTTP requests made to Graph by apps and users in your tenant, including the app ID, IP, user agent, request URI and response status. Send them to Log Analytics (MicrosoftGraphActivityLogs table) via Entra diagnostic settings to spot malicious apps or attackers using stolen tokens to read mail or enumerate the directory.

    Remember: Suspicious app calling Graph? MicrosoftGraphActivityLogs.

Which tool answers which question?

Purview Audit
  • What did the user or attacker do?
  • Inbox rules, downloads, sharing, MailItemsAccessed
Content search
  • Where is this content?
  • Every copy of a malicious email or leaked file
Graph activity logs
  • Which API calls were made?
  • App IDs, IPs, endpoints called

Try it

Which source helps?

This interactive part needs JavaScript.

In the portal

  • AuditMicrosoft Purview portal: Solutions > Audit > Search
  • Content searchMicrosoft Purview portal: Solutions > eDiscovery > Content search
  • Graph activity logsEntra admin center: Entra ID > Monitoring & health > Diagnostic settings

Key terms

Click a card to see the definition.

Check your understanding

3 questions. Score 80% or more and these skills are marked as confident in your SC-200 study plan.

  1. Which audit event shows emails an attacker opened?

  2. How do you delete all copies of a phishing email found by content search?

  3. How do Graph activity logs get to Log Analytics?

Sources

Facts in this lesson are from Microsoft Learn. This site isn't affiliated with Microsoft.