How to Restore and Transfer Files from a Deleted Microsoft 365 User
Question details
A Microsoft 365 administrator needs to recover and transfer OneDrive for Business files from a user account that has been deleted from the organization.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- An organization needs to back up, download, or transfer a former employee's files after their Microsoft 365 account has been removed.
- Observed behavior
- Files are inaccessible to standard users once the account is deleted, requiring an administrator to access the admin center to generate a recovery link before the retention period expires.
Ensure you are signed into the Microsoft 365 admin center with Global Administrator or SharePoint Administrator privileges, and verify that the deleted account is still within your organization's designated data retention period.
Generate an Access Link to the Deleted User's OneDrive
This is the recommended method for administrators to gain access to a former user's files and transfer them to another location without assigning a new Microsoft 365 license.
When a user is deleted, their OneDrive data is retained for a default period of 30 days (unless modified by organizational retention policies). During this window, an administrator can generate a direct access link to retrieve and migrate the data.
Log in to the Microsoft 365 admin portal and navigate to the 'Users' section on the left sidebar, then click on 'Deleted users'.
If the account was recently deleted and you need full access, select the user and choose the option to restore the account. If you only need file access, proceed to the active users list.
Find the specific user (either in Active or Deleted users, depending on your admin center version), select the 'OneDrive' tab in their profile panel, and click on 'Create link to files'.
Click on the generated link. You will be redirected to the former user's OneDrive for Business folder containing all their saved documents.
Select the files or folders you wish to keep. You can either download them directly to your local computer or use the 'Copy to' or 'Move to' options to transfer them to another active OneDrive or SharePoint library.

Manage Recovered Documents Easily with WPS Office
After recovering a former employee's files from Microsoft 365, you need a reliable way to open, review, and edit these documents. WPS Office is a powerful, lightweight alternative to Microsoft Office that lets you manage Word, Excel, PowerPoint, and PDF files for free.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install and Launch: Run the installer, open the application, and access the unified dashboard.
- 3. Open Recovered Files: Drag and drop the files you downloaded from the deleted Microsoft 365 user's OneDrive directly into WPS Office to view and edit them instantly.

Frequently Asked Questions
How long are a deleted user's Microsoft 365 files retained?
By default, a deleted user's OneDrive for Business data is retained for 30 days before being permanently deleted. However, administrators can configure this retention period in the SharePoint admin center to retain data for up to 3650 days (10 years).
Will file version history be preserved when transferring files to SharePoint?
No, generally when you use the browser's 'Copy to' or 'Move to' commands to transfer files from a deleted user's OneDrive to another library, only the most recent version of the document is copied. Previous versions are not transferred.
Why can't I see the 'Create link to files' option?
If the option is missing, it may be because you do not have the required Global Administrator or SharePoint Administrator roles. Additionally, if the user was deleted past the organization's retention limit, the OneDrive site may have already been purged.
Do I need an active license to download a deleted user's files?
No. As an administrator, you can access and download the files using the 'Create link to files' feature without assigning a new paid Microsoft 365 license to the deleted user's account.




