Microsoft 365 Audit Logs: How Far Back Can You Investigate?

When a business discovers a compromised mailbox or a suspicious file download, the first question is usually simple: what happened, and since when? Whether you can answer it depends on one thing most owners never look at, which is how long your Microsoft 365 audit records are kept.
Attacks are often found well after they begin. If the evidence has already expired, you are left guessing what was accessed, which makes every later decision harder, including whether you need to notify anyone.
What the audit log is
Microsoft Purview's unified audit log records user and admin activity across many Microsoft 365 services. Microsoft describes it as supporting security events, forensic investigations, internal investigations and compliance obligations. It is where you look to see who signed in, who changed a setting, or who touched a file.
Audit (Standard) is enabled by default for organisations with the appropriate subscription, so most businesses have some audit data without having done anything. The catch is how long it lasts.
The retention numbers that matter
Based on Microsoft's documentation:
- Audit (Standard) keeps records for 180 days. That is about six months of searchable history. Records generated before 17 October 2023 were kept for 90 days, so older guidance you may have seen is out of date.
- Audit (Premium) can keep Microsoft Entra ID, Exchange, OneDrive and SharePoint records for one year by default. Records for other activities stay at 180 days unless you create a custom retention policy.
- Longer periods, up to 10 years, are possible through retention policies, but Microsoft notes that 10-year retention needs an additional per-user add-on licence.
The licensing caveat
The one-year default is not automatic for everyone. Microsoft states that it applies to activity performed by users assigned an Office 365 or Microsoft 365 E5 licence, or an equivalent compliance add-on. Records for non-E5 users and guest users are retained for 180 days.
So a business with a mix of licences can have different investigation windows for different people. The mailbox you most need to examine may not be the one with the longest history.
Policies are not retroactive
Microsoft also notes that a 10-year retention policy is not retroactive. It cannot keep records that were generated before the policy was created. The time to configure retention is before an incident, not during one.
What logging guidance says
The UK National Cyber Security Centre's guidance on logging for security purposes makes the same point from a planning angle. It suggests starting from the questions you would need answered in an incident, then deciding which logs to keep and for how long. It recommends keeping logs for at least six months, and longer if budget allows.
It also says logs need protection. Attackers may target logging services to remove evidence, so access should be limited to those who need it and write permissions restricted. Finally, it advises reviewing your approach every 6 to 12 months and testing that stored data can actually be retrieved.
By that yardstick, 180 days is a reasonable floor rather than a comfortable margin.
A practical checklist
- Confirm auditing is on. Check the Purview audit search and confirm that recent activity is returned.
- Know your licences. Work out which users fall under 180 days and which have longer retention. Pay particular attention to administrators and finance staff.
- Decide what you need to keep. Sign-ins, mailbox activity, file sharing and admin changes are common priorities. Our post on admin accounts in Microsoft 365 explains why privileged activity deserves the closest watch.
- Consider exporting records elsewhere. Microsoft notes that the Office 365 Management Activity API lets organisations retain audit data for longer than the default period and import it into a SIEM solution.
- Restrict who can alter or delete logs. Evidence is only useful if it has not been tampered with.
- Test retrieval. Run a search for an event from five months ago. If you cannot find it, you have learned something valuable cheaply.
Logs are only useful if someone reads them
Retention answers the question of whether the evidence exists. It does not answer whether anyone notices something odd while the evidence is fresh. Continuous monitoring through a managed cybersecurity service means suspicious activity is picked up while it is happening, rather than reconstructed six months later. And if you do need to investigate, having a prepared incident response process means the logs you kept are put to use quickly.
The takeaway
You do not need to buy anything today to benefit from this. Find out how many days of history you actually have, note which users are covered by which retention, and decide whether that window is long enough for your business. If the honest answer is "we have never checked", that is a good place to start.
Want this handled for you?
Talk to the F1 team about cybersecurity, AI and managed IT for your business.




