Can You Delete SharePoint Document Activity Logs?
Question details
The user wants to know if it is possible to delete or hide the activity log entries shown for documents, libraries, or lists in SharePoint Online.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Managing document privacy, auditing history, or attempting to clean up the visible file history inside a SharePoint library.
- Observed behavior
- SharePoint displays an ongoing activity log for documents and lists, and users cannot find a built-in option or setting to clear, hide, or remove these records.
Note that SharePoint activity logs are designed for enterprise compliance, auditing, and version tracking. Always consult your organization's IT or compliance policies before attempting to alter document histories.
Understanding SharePoint Activity Log Limitations and Workarounds
SharePoint Online currently does not allow users or administrators to delete or hide document activity logs out-of-the-box. The best course of action is to understand the limitation and submit a feature request.
Microsoft enforces document activity logs in SharePoint Online to ensure security, maintain strict auditing trails, and provide collaboration transparency. Because this is a core compliance feature, there is no standard setting to disable or delete these activity entries at the document or library level.
If this feature impacts your workflow, Microsoft encourages users to submit feedback directly to their development team.
Recognize that activity logs are hardcoded into SharePoint's modern interface. Actions like viewing, editing, or sharing a document will always be logged and visible in the details pane.
Open your web browser and go to the official Microsoft SharePoint Feedback portal at feedbackportal.microsoft.com.
Log in with your Microsoft account, search to see if a similar request exists, and post a detailed suggestion explaining your need to hide or clear document activity logs in specific libraries.

Need a Simpler Way to Manage Documents? Try WPS Office
While SharePoint handles heavy enterprise server tasks and strict auditing trails, you might prefer a simpler, more private way to manage and edit your personal or offline documents. WPS Office is a free, lightweight, and powerful alternative to Microsoft Office that offers an intuitive user interface without forced cloud-level activity tracking.
- 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded setup file and follow the straightforward on-screen instructions to install the suite.
- 3. Start editing privately: Launch WPS Office to create, edit, and save your documents locally without generating enterprise cloud activity logs.

Frequently Asked Questions
Can site administrators delete SharePoint activity logs?
No. Even users with Full Control, Site Owner, or Site Administrator permissions cannot delete or hide the default document activity logs in a SharePoint library. This is a restricted, hardcoded feature in SharePoint Online.
Do activity logs ever expire automatically in SharePoint?
The standard document activity logs visible in the file details pane do not automatically expire. However, the backend audit logs stored in the Microsoft Purview compliance portal are kept for a specific retention period, which varies based on your organization's enterprise license (usually 90 days to 1 year).
How can I hide my document edits from other users while working?
If you do not want others to see your live edits, you can 'Check Out' the document before editing. This prevents others from making changes simultaneously. However, once you check it back in, the activity log and version history will update and remain visible to users with access to the file.




