Microsoft 365 Audit Logs: What They Record and How Long

When an account is compromised, the most expensive question is “what did they see?” The answer decides whether you have to notify customers, what you tell your insurer, and whether a breach is a minor incident or a reportable one. In Microsoft 365, the answer lives in the audit log. Most business plans keep those records for 180 days, which is plenty if you look promptly and not nearly enough if a compromise goes unnoticed for months. Here is what the log records, how long it keeps it, and what to set up before you need it.

What the audit log records

The Microsoft Purview audit log collects user and administrator activity from across Microsoft 365:

  • Email: mailbox access, sent messages, inbox rules created or changed, and mailbox permission changes.
  • Files: files viewed, downloaded, shared, and deleted in SharePoint and OneDrive, including sharing links created.
  • Teams: teams and channels created, members added, and settings changed.
  • Administration: new users, password resets, role assignments, and policy changes.

Sign-ins are recorded separately, in the Microsoft Entra ID sign-in logs, which show who signed in, from where, on which device, and whether MFA was used.

How long records are kept

  • Audit (Standard), included with Microsoft 365 business plans, keeps records for 180 days. Microsoft raised that from 90 days for records created from October 17, 2023.
  • Audit (Premium), available with higher-end licensing or add-ons, keeps Exchange, SharePoint, and Entra ID records for a year by default, and can keep them up to 10 years with an additional add-on.
  • Entra ID sign-in logs are kept for 30 days with Entra ID P1, which comes with Business Premium, and only 7 days on the free tier.

Those windows matter. Business email compromise is often discovered weeks or months after it starts, typically when a payment goes missing. By then the sign-in logs from the first break-in may already be gone.

Make sure it is on

Microsoft says auditing is on by default for most organizations, but don’t assume. Open Audit in the Microsoft Purview portal: if it offers to start recording user and admin activity, it hasn’t been. Turning it on doesn’t recover anything from before, which is why this is worth checking today rather than during an incident.

Keep logs longer than Microsoft does

If 180 days isn’t enough for your industry, your insurer, or your peace of mind, export the logs somewhere that keeps them longer. Options range from a security monitoring service or SIEM that collects Microsoft 365 logs, to an Audit (Premium) license for the users who matter most. A managed detection and response provider will usually collect them as part of watching your environment; see what MDR is.

Set alerts, not just records

A log nobody reads only helps after the fact. Microsoft 365 includes alert policies that can notify an administrator when someone creates an email forwarding rule, when an account signs in from somewhere unusual, or when large numbers of files are deleted. Forwarding rules in particular are a classic sign of a compromised mailbox; see how to tell if your email is hacked.

Using the log after an incident

  1. Preserve first. Export the relevant audit and sign-in records before they age out, and before anyone starts cleaning up.
  2. Search by the affected user and the time window around the suspected compromise.
  3. Look for mailbox access from unfamiliar locations, inbox rules, file downloads, and sharing links created.
  4. Bring in your insurer and their investigators early; they will want these logs. See what to do after a data breach and the first hour of an incident.

The same records also help with everyday questions: who deleted that folder, who shared that file, who changed that setting.

Be ready to answer “what did they see?”

Equal Tech Solutions verifies audit logging, sets alert policies, and keeps Microsoft 365 logs for longer than the default for businesses across Cleveland, Chattanooga, and the Southeast through our cybersecurity services and managed IT. Contact us to check your logging before an incident does.