Why SharePoint Sync Deletes Files and Sends Alerts: Causes and Fixes
Question details
Users need to understand why deleting locally synced SharePoint files deletes them from the cloud and triggers mass deletion email alerts, and how to prevent this.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- A user clicks the 'Sync' button in SharePoint expecting to create a simple File Explorer shortcut for easier access, then deletes local files to free up space.
- Observed behavior
- The SharePoint client synchronizes the deletion to the cloud, sending the user an alert about a large number of deleted files, and moving the cloud documents to the recycle bin.
Pause your OneDrive or SharePoint sync immediately to prevent any further files from being deleted in the cloud, and do not empty your computer's Recycle Bin.
Restore Deleted Files from the SharePoint Recycle Bin
Recover your inadvertently deleted files directly from the SharePoint site to reverse the mass deletion.
Because the sync client mirrors your local actions to the cloud, deleting a file on your computer sends the cloud version to the SharePoint Recycle Bin. You must restore these files online before altering your local sync settings to avoid permanent data loss.
Open your web browser, navigate to your Microsoft 365 portal, and open the specific SharePoint site where the files were originally located.
On the left-hand navigation menu of the SharePoint site, click on 'Recycle bin'. If you don't see it, click on 'Site contents' first, then find the Recycle bin in the top right corner.
Check the boxes next to the files or folders you accidentally deleted. Once selected, click the 'Restore' button at the top of the page to return them to their original document library.

Safely Stop SharePoint Sync
Disconnect your local folder from the SharePoint server so you can safely remove local copies without affecting cloud documents.
Use 'Add Shortcut to OneDrive' Instead of Syncing
Create a safer, lightweight link to your SharePoint files directly in your File Explorer without downloading the entire library.
Manage and Edit Your Documents Safely with WPS Office
If you are frustrated by complicated SharePoint syncing issues and the high cost of Microsoft 365, WPS Office offers a simplified, lightweight, and completely free alternative. You can edit your documents locally or save them to your preferred cloud storage without worrying about complex background sync clients automatically deleting your work.
- 1. Download the Installer: Visit the official WPS Office website and click the download button to get the free installer for your operating system.
- 2. Install WPS Office: Run the downloaded file and follow the brief on-screen instructions to install the software in just a few minutes.
- 3. Open Your Office Files: Launch WPS Office and open your existing .docx, .xlsx, or .pptx files directly. Your formatting will remain perfectly intact.

Frequently Asked Questions
Why does clicking 'Sync' in SharePoint create a local copy instead of a shortcut?
The 'Sync' button utilizes the OneDrive sync client to create a fully mirrored local directory on your hard drive. This is designed for offline access. Because it is a mirror, any action you take locally—including deletions—is automatically replicated to the SharePoint server once you connect to the internet.
How do I clear up hard drive space without deleting SharePoint cloud files?
Do not delete the files manually. Instead, right-click the synced file or folder in File Explorer (or Finder on Mac) and select 'Free up space'. This removes the locally downloaded copy from your hard drive but leaves a placeholder cloud icon, keeping the file safely stored in SharePoint.
What triggers the 'deleted a large number of files' email alert?
Microsoft 365 has a built-in safety feature that monitors mass file deletions. If the system detects that a large volume of files has been deleted within a short timeframe—which commonly happens when a user deletes a synced local folder—it automatically sends a warning email to the user and sometimes the admin so the files can be restored before permanent loss.




