# SharePoint Audit Log: Where to Search and How Long It Keeps

> For the full documentation index, see https://250highstreet.com/llms.txt

> The SharePoint audit log lives in Microsoft Purview. Learn where to search it, the 180 day Standard retention, and the one year Premium default.

As of November 2026, SharePoint activity is recorded in the Microsoft Purview unified audit log, and you search it with the Audit log search tool in the Purview portal. With Audit (Standard) records are kept 180 days, and Audit (Premium) keeps SharePoint records one year by default.

## Is auditing on already?

Microsoft says Audit (Standard) is enabled by default for all organizations with the appropriate subscription. You only need to assign the permissions to reach the search tool.

## What changed in 2023?

Audit (Standard) retention moved from 90 to 180 days. Logs made before October 17, 2023 keep 90 days, and logs from that date on keep 180. Classic Search was retired on November 30, 2023, and the newer Search replaced it.

## How long are records kept?

| Edition | Retention |
|---|---|
| Audit (Standard) | 180 days. Logs generated before October 17, 2023 were kept 90 days. |
| Audit (Premium) | SharePoint, OneDrive, Exchange and Microsoft Entra records one year by default; other activities 180 days unless a policy says otherwise |
| 10-year add-on | Needs an extra per-user license, and the policy is not retroactive |

## What does Premium add beyond Standard?

- Up to one year of retention, with Entra ID, Exchange, OneDrive and SharePoint kept one year by default.
- Audit log retention policies, based on the service, the activity or the user.
- Ten year retention, which needs an add-on license for each user.
- Intelligent insights, such as a mail item's sensitivity label.
- About twice the API bandwidth, against a baseline of 2,000 requests per minute.

## How do you get at the records?

- The Audit log search tool in the Microsoft Purview portal, by activity, user and date range.
- The Audit Search Graph API.
- The Search-UnifiedAuditLog cmdlet in Exchange Online PowerShell.
- An export of search results to CSV, to sort and filter in Excel.
- The Office 365 Management Activity API, for longer retention or a SIEM.

## Which records cannot be set to ten years?

Records from non-user sources, such as service principals and system events, keep a fixed one year. Custom retention policies do not apply to them. A ten-year policy also does not reach logs made before it was created.

## Need an audit trail on one process?

For approvals, [an approval audit trail](/guides/approval-audit-trail/) can be built in a list. For one row, see [who changed this row](/guides/who-changed-this-row/), and for a single file see [who viewed a SharePoint file](/guides/sharepoint-see-who-viewed-a-file/).

## FAQ

### Is the SharePoint audit log on by default?

Microsoft says Audit (Standard) is enabled by default for organizations with the appropriate subscription.

### How long does the Standard log keep records?

180 days for logs generated on or after October 17, 2023.

### What is the longest retention?

10 years, with the add-on license and a retention policy.

### Can I export results?

Yes. Microsoft says results from the search tool can be exported to a CSV file.

### Did the Standard retention change?

Yes. It moved from 90 days to 180 days for logs made on or after October 17, 2023.

### Does ten-year retention need a license?

Yes. Microsoft says each user needs a 10-Year Audit Log Retention add-on.

### Is there an API for the log?

Yes. The Office 365 Management Activity API and the Audit Search Graph API.

## Sources

- [Learn about auditing solutions in Microsoft Purview](https://learn.microsoft.com/en-us/purview/audit-solutions-overview)

## Related guides

- [Approval Audit Trail: Keep a Record of Every Approval](/guides/approval-audit-trail/)
- [Who Changed This SharePoint List Item? Version History](/guides/who-changed-this-row/)
- [How to see who viewed a file in SharePoint](/guides/sharepoint-see-who-viewed-a-file/)
- [Color code a SharePoint calendar by category](/guides/sharepoint-calendar-color-code-by-category/)
- [Recurring events in a SharePoint calendar](/guides/sharepoint-calendar-recurring-events/)

Source: https://250highstreet.com/guides/sharepoint-audit-log/
