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.
Written by Ali Hassani, CISSP and C|CISO · 25+ years designing, securing and supporting business networks · Updated November 2026



Microsoft 365 Best Practices Library › Email, files and Teams › Audit log review
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
Step by step
Set up and run an audit log review in six steps
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.
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.
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.
Illustration with invented sample data, not a screenshot.Microsoft Purview portal / Audit / SearchIllustrationHomeAuditSolutionsSettingsRoles and scopesAudit › SearchResults: last 30 days · mailbox rules and forwardingDate (UTC) User Activity Detail Nov 03 08:14 a.rivera New-InboxRule Forward to outside address Nov 03 08:16 a.rivera Set-Mailbox Forwarding address set Nov 09 17:40 j.chen New-InboxRule Move newsletters to folder Nov 12 02:51 accounts@ UpdateInboxRules Rule deletes messages Nov 15 11:05 admin-it Add-MailboxPermission Full access to CEO mailbox 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.
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.
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 for | Typical activity names | Why it matters |
|---|---|---|
| New or changed Inbox rules | New-InboxRule, Set-InboxRule, UpdateInboxRules | Hidden forwarding and deletion rules after a mailbox is accessed. |
| Mailbox forwarding set | Set-Mailbox | Mail leaving to an outside address. |
| Mailbox permissions added | Add-MailboxPermission, Add-RecipientPermission | Someone given access to another person’s mail. |
| Admin role changes | Add member to role | New administrators you did not expect. |
| App consent | Consent to application | A user or admin approved a new app. |
| External sharing | Sharing invitation created, anonymous link created | Files opened to people outside. |
| Large downloads or deletions | FileDownloaded, FileDeleted, in volume | Data being taken or destroyed. |
| MFA and security settings changed | Changes to Conditional Access policies and authentication methods | Protection being weakened. |
| Mail access by unusual clients | MailItemsAccessed | Mail read by an app or address that is not the user’s own. |
| Audit settings changed | Set-AdminAuditLogConfig | Someone 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
| Setting | Recommended value | Why |
|---|---|---|
| Unified audit log | On | Nothing can be investigated without it. |
| Who can search | A short list of named people with View-Only Audit Logs | The log shows everyone’s activity. |
| Review frequency | Monthly, and immediately after any suspected incident | Finds changes while they are still easy to explain. |
| Default alert policies | On, sent to a monitored mailbox | Covers urgent events between reviews. |
| Retention | 180 days at minimum; one year where licensed or required | Many incidents are discovered months later. |
| Exports | Stored in a restricted location | They 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
| Capability | License |
|---|---|
| Audit (Standard): search, export, 180-day retention | Microsoft 365 business and enterprise plans |
| Audit (Premium): one-year retention for Entra ID, Exchange, SharePoint, OneDrive; retention policies; extra insights | Microsoft 365 E5, Office 365 E5, or a Microsoft Purview add-on |
| Ten-year retention | Additional add-on license per user |
| Default alert policies | Included; 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.
Next in the library
Related guides
For a formal written audit of your Microsoft 365 tenant, OC Security Audit, our related cybersecurity brand also led by Ali Hassani, does that work.

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.








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 serviceMicrosoft 365 migration and setup
Mail, calendars and files moved with a tested plan, secured from day one.
View service