logo
search
SharePoint Document Issues

Does Deleting a Microsoft 365 User Delete SharePoint Files?

Rana GarciaRana Garcia Oct 16, 2026 868 views

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.

What Happens to SharePoint Files When You Delete a Microsoft 365 User?
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 you start

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.

Solution 1Recommended

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.

1
Review SharePoint Site Permissions

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.

2
Reassign Site Ownership

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.

3
Delete the User Account safely

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.

Managing SharePoint Files During User Deletion
OneDrive vs. SharePoint Data: Unlike SharePoint, a deleted user's personal OneDrive files will be permanently deleted after the retention period (usually 30 days) unless you assign another user access to back them up.
Free Microsoft Office alternative

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.

Seamless compatibility with Microsoft Office file formats (.docx, .xlsx, .pptx).Familiar user interface requiring zero learning curve for team members.Free, lightweight, and fast-loading on both Windows and Mac OS.Built-in PDF editing and rich formatting tools for professional documents.
microsoft office alternative - wps office

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.