How to Track External User File Deletions in SharePoint Online
Question details
The user wants to know how to track and identify external users who have deleted files from a SharePoint Online document library.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Managing a SharePoint Online site with external users and needing to monitor file deletions.
- Observed behavior
- Site owners need to identify the specific external account that performed a file deletion, as deleted files are moved to the Recycle Bin.
Ensure you have Site Collection Administrator permissions in SharePoint Online to access audit log reports and the site's Recycle Bin.
Check the SharePoint Site Recycle Bin
The quickest way to see who deleted a file recently is by checking the site's Recycle Bin.
When any user, including an external guest, deletes a file from a SharePoint document library, the file is sent to the site's Recycle Bin. The Recycle Bin interface directly displays the name of the user who performed the deletion.
Open your web browser and navigate to your SharePoint Online site.
Click on 'Recycle bin' in the left-hand navigation pane. If it is not visible, click on 'Site contents' and then select 'Recycle bin' from the top right.
Locate the deleted file in the list and check the 'Deleted by' column to identify the external user who removed the file.

Generate an Audit Log Report for Deletions
For a comprehensive history of deleted items, you can activate and view audit log reports.
Analyze Your SharePoint Audit Reports with WPS Office
While SharePoint Online handles your file storage and auditing, you need a reliable spreadsheet tool to analyze the generated Excel audit reports. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office that lets you open, filter, and analyze SharePoint audit logs seamlessly.
- 1. Download WPS Office: Download and install WPS Office for free on your computer.
- 2. Open the audit report: Launch WPS Spreadsheets and click 'Open' to locate your downloaded SharePoint audit log report.
- 3. Filter the data: Use the built-in Data Filter tools to sort the 'Deleted by' column and easily track external user activity.

Frequently Asked Questions
How long do deleted files stay in the SharePoint Recycle Bin?
Deleted files are kept in the SharePoint Recycle Bin for 93 days before they are permanently deleted, giving you ample time to identify the user and restore the file if needed.
Can external users empty the SharePoint Recycle Bin?
No, external users typically only have permission to delete files from the document library. Only Site Owners or Site Collection Administrators have the necessary permissions to empty the site's Recycle Bin.
Why is the Audit Log Reports option missing in Site Settings?
The Audit Log Reports option may be missing if you do not have Site Collection Administrator privileges, or if the auditing feature has not been activated in the Site Collection Features menu.
Can I search for specific external users in the Microsoft Purview audit logs?
Yes, if you have access to the Microsoft Purview compliance portal, you can run an audit log search and filter by the specific external user's email address to see all their file deletion activities across SharePoint.




