Save OneDrive files if an employee leaves in 8 steps. Block, check owner, check holds, share, delete, copy, watch, restore. Copy the files within 30 days of deleting the user. Microsoft retains the OneDrive 30 days and the manager gets access. Next comes the recycle bin stage of 93 days. Set a manager first or no one gets a warning. RecoveryTools OneDrive Migrator moves leaver accounts between tenants.
I get this question the week after an employee leaves. Managers ask for a client folder and the account is already gone. It depends on what the admin did and when.
Microsoft sets the rules and they are strict about timing. This guide shows the timeline, who gets access, the steps to follow and the mistakes that cost files.
What Happens to OneDrive Files When an Employee Leaves?
Nothing happens when the employee leaves until the account is deleted in Microsoft Entra ID. Blocking sign-in does not touch the files and removing the license does not start cleanup either. The files sit there and the retention clock has not started.
Once you delete the user, the OneDrive enters a retention period. The default is 30 days and you can edit it in the SharePoint admin center. The manager gets access automatically. If the files are not copied out in time, the OneDrive moves to the site collection recycle bin for 93 days and then it is deleted.
Most lost files I hear about were not deleted by anyone. The 30 days simply ended and nobody had set a manager or a secondary owner to get the warning emails.
Jamie Kaler Marketing Head and Content Strategist, RecoveryTools
How do You Save OneDrive Files Before an Employee Leaves?
Who it suits. Technical admin with user, SharePoint and Exchange administrator rights. Extra application. None, because a browser is enough. PowerShell is needed only for the restore step.
Follow this order. It follows Microsoft's offboarding steps and adds the checks that I see skipped most.
- Block sign-in first. Do not delete the account yet. Blocking sign-in stops the person from using Microsoft 365 and retains the files untouched.
- Check the manager and the secondary owner. Make sure Microsoft Entra ID lists a manager for the user or set a secondary owner under My Site Cleanup in the SharePoint admin center.
- Check for holds and policies. Retention policies, retention labels and eDiscovery holds take precedence over the normal deletion process so note any that apply.
- Give another user access. In the Microsoft 365 admin center, start the delete user process and choose to give another person access to the OneDrive. You need user, SharePoint and Exchange administrator rights for this.
- Remove the license and delete the user. Deleting the user starts the retention clock. Deleting a user does not stop billing until a billing admin removes the license from the subscription.
- Copy the files out within 30 days. The person with access opens the OneDrive and copies the files into their own OneDrive or into a team site.
- Watch for the reminder. Seven days before the retention period ends, the manager or secondary owner gets a second email.
- Restore if you missed the date. Within 30 days you can restore the user in the admin center. After that a SharePoint Administrator can restore the OneDrive with PowerShell within the 93 days.
For the copy, my guide on how to transfer OneDrive files to another user shows the steps and the limits of every method.
Who Gets Access to a Leaver's OneDrive?
By default the manager does. When a user is deleted, Microsoft gives the manager access to the OneDrive. If Microsoft Entra ID lists no manager for the user, the secondary owner set under My Site Cleanup gets it.
If neither exists, no one has automatic access and no one is warned that the OneDrive will be deleted. This is the gap that causes most losses.
How Long is the OneDrive Retention Period for a Deleted User?
Who it suits. Technical SharePoint admin who edits the retention period. Extra application. PowerShell with the SharePoint Online module.
Thirty days by default, then 93 days in the recycle bin. The table shows every stage.
| Stage | Default length | What you can do |
|---|---|---|
| Sign-in blocked, user not deleted | Until you delete the user | Files remain where they are. The retention clock has not started |
| User deleted, OneDrive retained | 30 days | Manager or secondary owner can open the files and copy them out. You can restore the user in the admin center |
| Site collection recycle bin | 93 days | No one can reach shared content. A SharePoint Administrator can restore it with PowerShell |
| After the recycle bin | Not applicable | The OneDrive is deleted, unless a retention policy or an eDiscovery hold retains it |
You can edit the retention period in the SharePoint admin center or with PowerShell. The value is in days.
Set-SPOTenant -OrphanedPersonalSitesRetentionPeriod 90
Microsoft 365 retention policies and labels always win over this setting. Content can be deleted sooner than 30 days or retained longer so check what your tenant applies.
What Mistakes Lose Files After an Employee Leaves?
Four mistakes show up again and again after the employee leaves.
First, deleting the account before anyone has access. Second, leaving the manager field empty so no one is told about the deadline. Third, assuming a blocked account is a safe account. Files synced to a personal computer cannot be wiped remotely so the former employee can still have a copy. Fourth, copying files by hand and forgetting what the copy loses. Version history does not come along and links to the old files stop working once the OneDrive is gone.
What if a Leaver's Files must Reach Another Tenant?
Most leavers remain inside one tenant and Microsoft's steps above are enough. A company split or a sale is different. Here an employee leaves your tenant and their OneDrive files must follow them to a new one.
That needs software that signs in to both tenants and maps every person to a new account.
Leavers Whose Files must Reach Another Tenant
RecoveryTools OneDrive Migrator copies OneDrive accounts between Microsoft 365 tenants, for example after a company split. The Easy to Use, graphical interface based utility retains folders and version history, maps users from a CSV file and never overwrites existing files. The software can retry only failed items and is able to schedule a transfer. RecoveryTools OneDrive Migrator is capable of a delta pass and allows you to select from three sign-in routes. The migrated data is accessible in the destination account with folders and versions in place. Sharing links, groups, people outside your organization and OneNote notebooks are not copied.
Works on Windows 11, 10 and Windows Server 2022.
My Verdict on Offboarding OneDrive
Set the manager first, delete the user last and copy the files inside 30 days. The same order works every time an employee leaves.
Offboarding fails when it is a memory task. Put the manager check, the hold check and the reminder date on one checklist and give every leaver the same order. A short list saves more files than any tool.
Frequently Asked Questions
Do OneDrive Files Disappear Once an Employee Leaves?
No. Microsoft starts the retention period only when you delete the user account in Microsoft Entra ID. The OneDrive is retained for 30 days by default and then sits in the recycle bin for 93 days.
Does Blocking Sign-in or Removing a License Delete the OneDrive?
No. Blocking sign-in does not touch the files and removing the license does not start cleanup. The retention clock begins only after user deletion.
Can the Manager Open a Deleted User's OneDrive?
Yes. Microsoft gives the manager access by default. If there is no manager the secondary owner set in My Site Cleanup gets access and if neither is set no one gets automatic access.
Can You Extend the OneDrive Retention Period?
Yes. Edit it in SharePoint admin center settings or with Set-SPOTenant and the OrphanedPersonalSitesRetentionPeriod parameter. Retention policies and holds can also retain files longer.
Can You Recover a OneDrive After 30 Days?
Yes, for 93 more days. Restore it from the recycle bin with PowerShell as a SharePoint Administrator. Before day 30 you can restore the user in the Microsoft 365 admin center.
Can I Copy Files Once an Employee Leaves?
Yes. The person with access opens the OneDrive and copies the files into their own OneDrive or into a team site. Version history does not come along and links to the old files stop working once the OneDrive is gone.
Does an eDiscovery Hold Stop OneDrive Deletion?
Yes. If the OneDrive is on an eDiscovery hold, Microsoft does not delete it until you remove the hold. The manager or secondary owner still gets the deletion email.
Published 13 October 2026. Numbers and steps come from Microsoft Learn pages on OneDrive retention and deletion, removing a former employee, deleting a user and restoring a deleted OneDrive.