Review Exchange Server Logs After a Mailbox Compromise
Question details
Determine which sign-in, session, and mailbox activity records are available after an Exchange mailbox compromise.

- Product
- Microsoft Exchange Server and Exchange Online
- Device & OS
- not provided
- Scenario
- An organization is investigating a compromised mailbox and needs to assess what the attacker may have accessed.
- Observed behavior
- The investigation requires available sign-in and mailbox audit records, but the level of detail depends on prior audit settings and log retention.
Identify whether the mailbox is hosted in Exchange Online or on-premises, and establish the incident time range and mailbox identity. Confirm that you have the required audit and sign-in log permissions and check the applicable retention periods.
Review Exchange Online audit and sign-in records
Use Microsoft Purview and Microsoft Entra logs to investigate a cloud-hosted mailbox.
In the Microsoft Purview portal, open Audit, select Search, and enter the incident date range and affected user. Filter for relevant Exchange mailbox activities, then run the search.
Open matching audit results and review the operation, timestamp, user, client information, and other available details. Check whether owner, delegate, and administrator actions relevant to the investigation were being audited.
In the Microsoft Entra admin center, open Identity > Monitoring & health > Sign-in logs. Filter for the affected user and incident period, then inspect IP addresses, application details, and any available correlation or session identifiers.
Compare timestamps and available identifiers across Audit search results and Sign-in logs. Use the export options in each view to preserve relevant records for the investigation.

Review audit and server logs for on-premises Exchange
Use Exchange Management Shell and available server logs to investigate an on-premises mailbox.
Review exported investigation spreadsheets in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface for opening and reviewing exported audit data. Its file compatibility makes it easy to move existing spreadsheets into WPS, though it does not collect Exchange logs or fix an Exchange compromise.

Frequently Asked Questions
Can I see mailbox activity if auditing was turned on after the compromise?
No. Enabling auditing now can capture eligible future events, but it cannot recreate events that were not recorded during the incident. Check other retained sources, such as sign-in and server logs.
Where can I find sign-in records for an Exchange Online user?
In the Microsoft Entra admin center, open Identity > Monitoring & health > Sign-in logs and filter by the affected user and incident dates. The available history depends on retention and licensing.
Do sign-in logs show which emails an attacker read?
Sign-in logs show authentication details, not a complete list of messages read. Search Microsoft Purview Audit or on-premises mailbox audit logs for relevant recorded mailbox operations.
Why are expected mailbox events missing from the audit search?
The relevant action may not have been audited, the record may have expired, or the search filters may be too narrow. Check the date range, user, activity filters, audit configuration, and retention period.




