Audit (Standard)
Audit (Standard) is on by default and keeps records for 180 days. It was 90 days before; the 180 days applies to logs created on or after October 17, 2023, so older logs were not extended.
Ways to search it:
- the audit search tool in the Purview portal (New Search);
- Search-UnifiedAuditLog in Exchange Online PowerShell;
- the Audit Search Graph API;
- the Office 365 Management Activity API.
Classic audit search retired on November 30, 2023, replaced by New Search. Don't confuse the audit tools with the message trace tools: Get-MessageTraceV2 and Get-MessageTraceDetailV2 trace mail flow, not audit records.
Audit (Premium)
- Entra ID, Exchange, OneDrive and SharePoint records are kept 1 year by default. Other records stay at 180 days.
- Custom audit log retention policies can extend retention to 10 years. That needs a per-user 10-Year Audit Log Retention add-on licence and isn't retroactive: records already two years old are not pulled forward.
- Records from non-user entities (service principals, system events) are fixed at 1 year; the per-user add-on doesn't reach them.
- Intelligent insights, such as MailItemsAccessed with the SensitivityLabel property.
- About twice the Management Activity API bandwidth, over a baseline of 2,000 requests per minute.
Reading the figures
- 90 days: the old Standard figure, before October 17, 2023.
- 180 days: Standard today, and Premium for workloads other than the four above.
- 1 year: Premium for Exchange, SharePoint, OneDrive and Entra ID, and the fixed figure for non-user entities.
- 10 years: Premium with a custom policy and the add-on, from the day it applies.
The trap
A company that buys the 10-year add-on today and asks to keep two-year-old records for ten years can't: the policy only reaches records from now on. Tell legal before the purchase, not after.