Does Deleting a Microsoft 365 User Delete SharePoint Files?
Question details
The user needs to know if removing a Microsoft 365 user account from their organization will result in the deletion or loss of files stored in SharePoint Online.

- Product
- Microsoft SharePoint Online
- Device & OS
- not provided
- Scenario
- An administrator is preparing to remove a departing employee's Microsoft 365 account and wants to ensure that critical company documents remain accessible to the rest of the team.
- Observed behavior
- Files stored in shared SharePoint document libraries remain intact, secure, and fully accessible to other users with the appropriate permissions after the original user's account is deleted.
Before removing the Microsoft 365 user account, verify that active team members have the necessary administrative or edit permissions for the SharePoint document libraries the departing user managed.
Managing SharePoint Files During User Deletion
Understand how SharePoint protects shared documents from deletion and learn the proper steps to reassign site ownership before removing a user account.
When you delete a Microsoft 365 user account, their personal OneDrive data is subject to a retention period and eventual deletion. However, files stored in shared SharePoint document libraries are entirely unaffected.
SharePoint files are owned by the organization's site or Microsoft 365 Group, not the individual user who uploaded them. As long as other team members have access permissions to the site or document library, they can continue to view, edit, and manage those files.
Navigate to your SharePoint site, click the gear icon for 'Settings', and select 'Site permissions'. Ensure that remaining team members have the correct access levels, such as Edit or Full Control.
If the departing user was the sole Site Owner, assign the Site Owner role to another active Microsoft 365 user so the site does not become orphaned.
Go to the Microsoft 365 admin center, navigate to 'Users' > 'Active users', select the departing employee, and click 'Delete user'. Your SharePoint files will remain completely safe.

Edit SharePoint Documents Easily with WPS Office
While you manage your organization's SharePoint permissions and Microsoft 365 accounts, consider equipping your team with WPS Office. It is a lightweight, fully compatible, and free alternative to Microsoft Office that easily handles Word, Excel, and PowerPoint files downloaded from your SharePoint libraries.

Frequently Asked Questions
What happens to a user's OneDrive files when their Microsoft 365 account is deleted?
By default, a deleted user's OneDrive files are retained for 30 days. During this window, an administrator can assign access to another user to back up the files or move them to a shared SharePoint library before they are permanently purged.
Can I recover SharePoint files if the departing user intentionally deleted them?
Yes, deleted SharePoint files go to the site's Recycle Bin, where they are kept for 93 days. A site administrator can easily restore these files from the Recycle Bin within that timeframe.
Does deleting a user remove their name from the version history of a SharePoint document?
No. The version history of the document will still display the deleted user's name next to any edits they made in the past. This ensures your organization maintains a complete and accurate audit trail of file modifications.




