How to Recover Files from a Deleted Microsoft 365 User Account
Question details
The user needs to recover files that were stored in the OneDrive of a departed employee whose Microsoft 365 account has already been deleted.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- An employee has left the organization, their Microsoft 365 user account was deleted, and another user or manager now needs access to their saved files.
- Observed behavior
- The files are inaccessible to standard users because the owner's account has been removed from the system.
Ensure you have Global or SharePoint Administrator privileges in Microsoft 365, and verify that the account deletion occurred within your organization's OneDrive retention period (usually 30 days by default).
Grant Access via Microsoft 365 Admin Center
The quickest way for an administrator to recover files is by generating a OneDrive access link directly from the Admin Center before the retention period expires.
When a user is deleted, their OneDrive is typically retained for a specific period (default is 30 days). During this window, an admin can generate a link to access and download the departed user's files without needing to restore the entire account.
Go to the Microsoft 365 admin center and log in with your administrator credentials.
In the left-hand navigation menu, select 'Users' and then click on 'Deleted users'.
Find and select the deleted user whose files you need to recover to open their properties panel.
In the user's properties panel, click on the 'OneDrive' tab.
Under the 'Get access to files' section, click 'Create link to files'. Once the URL is generated, click the link to browse, download, or move the user's recovered documents.

Restore the Deleted OneDrive via PowerShell
If you need to programmatically restore access or handle multiple accounts, administrators can use the SharePoint Online Management Shell.
Manage Your Recovered Documents Seamlessly with WPS Office
Recovering files from a deleted Microsoft 365 account requires administrator intervention, but viewing and managing those files shouldn't be complicated. Once you have downloaded the departed user's files, you can use WPS Office to open, edit, and organize them. WPS Office is a free, lightweight suite that serves as a perfect alternative to Microsoft Office.
- 1. Download the software: Visit the official WPS Office website and click 'Free Download'.
- 2. Install WPS Office: Run the installer and follow the on-screen prompts to complete the lightweight installation.
- 3. Open recovered files: Double-click your recovered .docx, .xlsx, or .pptx files to instantly open and edit them in WPS Office without formatting issues.

Frequently Asked Questions
How long are OneDrive files kept after a Microsoft 365 user is deleted?
By default, Microsoft 365 retains a deleted user's OneDrive files for 30 days. However, your organization's administrators can configure this retention period to last anywhere from 30 to 3650 days.
Can a standard user recover a departed colleague's files directly?
No. Standard users do not have the permissions required to access a deleted user's OneDrive. You must contact your IT department or a Microsoft 365 global administrator to generate an access link.
What happens to the files if the retention period has already expired?
Once the designated retention period expires, the OneDrive is sent to the site collection recycle bin for 93 days. If not recovered from there, the files are permanently deleted from Microsoft's servers and cannot be recovered unless a third-party backup solution was utilized.
Will recovering the user's files also restore their Microsoft 365 email?
No, recovering access to a deleted user's OneDrive files via the Admin Center or PowerShell only grants access to their document storage. Restoring their mailbox requires a different administrative process, usually involving recovering the entire user account within 30 days.




