Microsoft 365 Best Practices Library · Email, files and Teams

Microsoft 365 audit log review guide

The Microsoft 365 audit log records what people and administrators do: who opened a mailbox, created a forwarding rule, shared a folder with the outside world or gave an app permission. This guide shows how to confirm the log is on, who should be able to read it, which ten activities are worth a regular look, and how to search it when you need an answer quickly.

Prefer to have it done for you? IT Perfection provides Microsoft 365 security hardening for companies in Irvine, Orange County and Los Angeles County.

Ali Hassani, CISSP and Certified CISO, IT PerfectionWritten by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026

Operator monitoring multiple screens at a desk
1 · ConfirmWe check that auditing is on and who can read it.

Microsoft 365 Best Practices Library › Email, files and Teams › Audit log review

What it isA searchable record of user and administrator activity across Exchange Online, SharePoint, OneDrive, Teams and Microsoft Entra ID.
Where it livesMicrosoft Purview portal (purview.microsoft.com) › Audit
License neededAudit (Standard) is on by default in most Microsoft 365 organizations and keeps records for 180 days. Audit (Premium), with one-year retention for key services, needs E5 or a Purview add-on.
Time to set upThirty minutes to confirm the set-up; about thirty minutes a month for the review.
Risk if missingMedium to high Without the audit log you can see that something happened, but not who did it, when, or what else they touched.

Why it matters

Sign-in logs say who got in. The audit log says what they did

After a suspicious sign-in, the next questions are always the same. Did they read mail? Did they create a rule? Did they download files, share a folder, add themselves to a group, or approve an app? The sign-in logs cannot answer those. The audit log can.

It is also the record of your own administrators’ changes. When a policy was switched off, a mailbox permission was added or a license was removed, the audit log shows who did it and when. That matters for honest mistakes as much as for attacks, and it is the first thing a cyber insurer or forensic investigator will ask for.

The log is on by default, but three things are often wrong in practice: nobody has been given permission to search it, nobody looks until there is an incident, and the retention period is shorter than people assume. All three are quick to fix.

Public case · CISA and FBI advisory, July 2023

An intrusion noticed in the audit log

In June 2023 a U.S. federal civilian agency noticed unexpected activity in its Microsoft 365 audit logs: a type of record called MailItemsAccessed, which shows mail being read, appearing with an unusual application identifier. The agency reported it to Microsoft and to the Cybersecurity and Infrastructure Security Agency (CISA). Microsoft determined that a threat actor had accessed and taken unclassified email data from a small number of accounts.

This is not a statement about what would have prevented the intrusion. It is a public example of the opposite of the usual story: the logging was on, someone was looking, and the activity was noticed. Since then Microsoft has made more audit events available without a premium license.

Source: CISA and FBI, Cybersecurity Advisory AA23-193A, “Enhanced Monitoring to Detect APT Activity Targeting Outlook Online”, July 12, 2023. IT Perfection had no part in this case.

Before you start

What to have ready

A role that can searchThe Audit Logs or View-Only Audit Logs role in the Microsoft Purview portal. Check that your own account has it before you need it; do not assume.
UTC in mindAudit timestamps are always in UTC. Convert before you compare with what a user remembers.
The question you want answeredSearches are far more useful with a user, a date range and a type of activity than as a general browse.
A place to keep exportsExported results can contain file names, subjects and addresses. Store them where only the right people can read them.

Step by step

Set up and run an audit log review in six steps

  1. Confirm auditing is on

    Microsoft Purview portal › Audit

    Open Audit. If a banner asks you to start recording user and admin activity, auditing is off: turn it on. You can also check in Exchange Online PowerShell with Get-AdminAuditLogConfig | Format-List UnifiedAuditLogIngestionEnabled; the value should be True. Records are only kept from the moment auditing is on, so there is nothing to recover from before that.

  2. Give the right people permission to search

    Microsoft Purview portal › Settings › Roles and scopes › Role groups

    Assign View-Only Audit Logs to those who review, and Audit Logs only to those who also manage auditing settings. Keep the list short: the audit log reveals what everyone in the company is doing. An outside IT provider who reviews the log should have a named account, not a shared one.

  3. Run a first search

    Microsoft Purview portal › Audit › Search

    Set the date range, choose one or more activities, optionally name a user, and select Search. Searches run as jobs; open the job when it completes. Select a record to see its details, including the IP address and the full AuditData. Export downloads the results to a CSV file for filtering in Excel. For a shared mailbox, put its address in the Keywords field and not the Users field.

  4. Save the searches you will repeat

    The ten activity groups in the next section make a good standing list. Run each once, note the activity names that return useful results in your tenant, and keep them as your monthly checklist. People with scripting skills can run the same searches with Search-UnifiedAuditLog in Exchange Online PowerShell and save the output on a schedule.

  5. Check alert policies

    Microsoft Defender portal › Email & collaboration › Policies & rules › Alert policy

    Microsoft 365 includes default alert policies built on the same audit data, for events such as the creation of a forwarding rule, elevation of Exchange admin privilege or unusual volumes of file deletion. Confirm they are on and that the notification address is a mailbox someone reads. Alerts cover the urgent items between monthly reviews.

  6. Decide how long you need to keep records

    Microsoft Purview portal › Audit › Audit retention policies

    With Audit (Standard) the answer is fixed at 180 days. With Audit (Premium), records for Microsoft Entra ID, Exchange, SharePoint and OneDrive are kept for one year by default, and you can create retention policies for other services. If you need longer history without premium licenses, export the results of your monthly searches and keep the files, or send the data to a log platform through the Office 365 Management Activity API.

What to review

Ten activities worth a monthly look

What to look forTypical activity namesWhy it matters
New or changed Inbox rulesNew-InboxRule, Set-InboxRule, UpdateInboxRulesHidden forwarding and deletion rules after a mailbox is accessed.
Mailbox forwarding setSet-MailboxMail leaving to an outside address.
Mailbox permissions addedAdd-MailboxPermission, Add-RecipientPermissionSomeone given access to another person’s mail.
Admin role changesAdd member to roleNew administrators you did not expect.
App consentConsent to applicationA user or admin approved a new app.
External sharingSharing invitation created, anonymous link createdFiles opened to people outside.
Large downloads or deletionsFileDownloaded, FileDeleted, in volumeData being taken or destroyed.
MFA and security settings changedChanges to Conditional Access policies and authentication methodsProtection being weakened.
Mail access by unusual clientsMailItemsAccessedMail read by an app or address that is not the user’s own.
Audit settings changedSet-AdminAuditLogConfigSomeone turning logging off.

Activity names vary slightly between services and change as Microsoft adds events. Use the activity picker in the search tool to find the current name, and treat this table as a list of questions more than a list of exact strings.

Recommended values

Audit settings at a glance

SettingRecommended valueWhy
Unified audit logOnNothing can be investigated without it.
Who can searchA short list of named people with View-Only Audit LogsThe log shows everyone’s activity.
Review frequencyMonthly, and immediately after any suspected incidentFinds changes while they are still easy to explain.
Default alert policiesOn, sent to a monitored mailboxCovers urgent events between reviews.
Retention180 days at minimum; one year where licensed or requiredMany incidents are discovered months later.
ExportsStored in a restricted locationThey contain details of user activity.

Check that it works

How to confirm the result

  • A test action appears. Create and delete an Inbox rule on a test mailbox, then search for it. Allow time: Microsoft notes records can take from about an hour to a day to appear, depending on the service.
  • A reviewer who is not a Global Administrator can search. Proves the role assignment works.
  • An alert arrives. The test rule should also trigger the forwarding-rule alert if it forwards outside.
  • The retention is what you expect. Search for a record older than 90 days.
  • The routine is written down. The list of searches, who runs them and where results are kept.

Mistakes to avoid

Common mistakes

  • Assuming auditing is on. It usually is, but confirm; it can be turned off.
  • Nobody has the role. At the moment of an incident, time is lost granting permission to search.
  • Forgetting UTC. A rule created at “2 a.m.” may have been created during the working day.
  • Searching too broadly. A month of all activity for all users is too much to read. Start from a user or an activity.
  • Expecting instant records. A change made five minutes ago may not be there yet.
  • Confusing the two logs. Sign-ins are in Microsoft Entra; activity is in Microsoft Purview.
  • Leaving exports in a shared folder. They are sensitive in their own right.

Licenses

Which plan gives you what

CapabilityLicense
Audit (Standard): search, export, 180-day retentionMicrosoft 365 business and enterprise plans
Audit (Premium): one-year retention for Entra ID, Exchange, SharePoint, OneDrive; retention policies; extra insightsMicrosoft 365 E5, Office 365 E5, or a Microsoft Purview add-on
Ten-year retentionAdditional add-on license per user
Default alert policiesIncluded; some need E5 or Defender for Office 365 Plan 2

Microsoft also offers Purview add-ons for Business Premium. Plans and names change; check the current Microsoft Purview service description before you buy anything.

Have us do it

Prefer to hand this off?

IT Perfection sets up audit log reviews for companies in Irvine, Orange County and Los Angeles County: confirmation that auditing is on, the right roles, a monthly search list fitted to your tenant, alert policies sent to a mailbox someone reads, and a retention decision recorded in writing. You receive a written scope and a written quote before any work starts.

Ali Hassani, CISSP and Certified CISO, IT Perfection

Who does the work

Written by Ali Hassani, CISSP, C|CISO

Ali Hassani has 25+ years of hands-on experience in IT operations, cybersecurity, Microsoft infrastructure, network security and Azure, and works with businesses in Irvine, Orange County and Los Angeles County. Design, implementation and troubleshooting work is planned and reviewed by Ali personally.

This guide is for education and planning. It does not replace a professional audit, compliance assessment or vendor engineering review. Updated November 2026.

ISC2 CISSP badgeEC-Council Certified CISO (C|CISO) badgeCisco CCNP Routing and Switching badgeMCSE: Server Infrastructure badgeMicrosoft MCSE badgeMCSA: Security badgeCisco CCNA Cybersecurity badgeMCITP badge

FAQ

Microsoft 365 audit log: common questions

Where is the audit log in Microsoft 365?

In the Microsoft Purview portal at purview.microsoft.com, under Audit. You need the Audit Logs or View-Only Audit Logs role to search it.

Is the Microsoft 365 audit log on by default?

Audit (Standard) is enabled by default for most Microsoft 365 organizations. It is still worth confirming, because auditing can be turned off and records are only kept from the time it is on.

How long are audit logs kept?

Audit (Standard) keeps records for 180 days. Audit (Premium) keeps Microsoft Entra ID, Exchange, SharePoint and OneDrive records for one year by default, with longer retention available through add-on licenses.

What is the difference between the audit log and sign-in logs?

Sign-in logs, in Microsoft Entra ID, record authentication: who signed in, from where and how. The audit log, in Microsoft Purview, records activity: what users and administrators did after signing in.

How do I find out who created an inbox rule?

Search the audit log for activities such as New-InboxRule, Set-InboxRule and UpdateInboxRules for the mailbox and date range. The record shows the account, the time in UTC and the IP address.

How quickly do records appear in the audit log?

Not instantly. Depending on the service, a record can take from around an hour up to a day to become searchable.

Need this done for your business?

IT Perfection plans, installs and supports this for companies in Irvine and Orange County

The guides explain the steps. If you would rather have it done, planned and documented by an experienced engineer, these are the services that cover it. Design, implementation and troubleshooting work is planned and reviewed by Ali Hassani personally.

Microsoft 365 managed services

Exchange, Teams, SharePoint and OneDrive run and secured for you.

View service

Microsoft 365 migration and setup

Mail, calendars and files moved with a tested plan, secured from day one.

View service

SPF, DKIM and DMARC setup

Email authentication set up so your domain cannot be spoofed.

View service