Microsoft 365 Migration

How to Move a Former User's OneDrive Files to Another Library

Natalie TaylorNatalie Taylor Nov 4, 2026 868 views

Question details

A Microsoft 365 administrator needs to transfer or access the OneDrive files of a departing or former employee.

How to Move a Former User's OneDrive Files to Another Library
Product
Microsoft 365
Device & OS
not provided
Scenario
An employee has left the organization, and their OneDrive files must be migrated to another user's library or a shared SharePoint location before the data is permanently deleted.
Observed behavior
The administrator needs to generate access links or perform bulk transfers via PowerShell depending on whether the former user's account is still active or has already been deleted.
Before you start

Ensure you have global administrator or SharePoint administrator privileges in Microsoft 365 before attempting to access or migrate another user's OneDrive files.

Solution 1Recommended

Transfer Files Using the Microsoft 365 Admin Center

The easiest method for handling an active or recently inactive account is generating a file access link directly from the Microsoft 365 Admin Center.

This method is ideal for one-off file transfers when an employee is leaving and their account has not yet been permanently removed from the system.

1
Access Active Users

Open the Microsoft 365 admin center and navigate to 'Users' > 'Active users' in the left-hand menu.

2
Select the Target User

Find and click on the name of the user whose files you want to access to open their details pane.

3
Navigate to the OneDrive Tab

In the user details pane, click on the 'OneDrive' tab located at the top.

4
Generate an Access Link

Under the 'Get access to files' section, select 'Create link to files'.

5
Move the Files

Click the generated link to open their OneDrive in your browser. Select the necessary files and use the 'Move to' or 'Copy to' button to transfer them to another OneDrive or SharePoint library.

Transfer Files Using the Microsoft 365 Admin Center
Link Expiration: The generated link will grant you access to the user's OneDrive files, but ensure you move the files promptly before the account and its associated storage are deleted.
Free Microsoft Office alternative

Manage Your Documents Efficiently with WPS Office

While Microsoft 365 provides complex administrative tools for cloud storage, everyday users and teams need a fast, reliable, and cost-effective solution for creating and editing documents. WPS Office is a lightweight, free alternative that perfectly handles Word, Excel, and PowerPoint files without heavy subscription costs.

Fully compatible with Microsoft Office formats (DOCX, XLSX, PPTX).Lightweight installation and lightning-fast performance.Built-in PDF editing tools for comprehensive document management.Familiar user interface makes switching incredibly easy and seamless.
microsoft office alternative - wps office

Frequently Asked Questions

How long are OneDrive files kept after an employee leaves?

By default, Microsoft 365 retains a deleted user's OneDrive files for 30 days. However, administrators can modify this retention period up to 3650 days in the SharePoint admin center.

Can I move OneDrive files directly to a shared SharePoint library?

Yes. Once you gain access to the former user's OneDrive via the Admin Center, you can select the files and use the 'Move to' or 'Copy to' feature to transfer them directly to any shared SharePoint library you have access to.

Does the former user get notified when I access their OneDrive?

No, if the user account is managed by the organization and accessed by an administrator using the official Microsoft 365 Admin Center tools, the former user does not receive a notification.

What happens if the 30-day retention period expires before I move the files?

If the retention period expires and no specific hold was placed on the account, the OneDrive files are moved to the site collection recycle bin for 93 days. If they are not recovered from there, they are permanently deleted.