When an employee leaves, the files in their OneDrive do not automatically stay with the business. By default, once their account is deleted, Microsoft keeps their OneDrive for 30 days and gives that person's manager access during that time. A reminder email goes out seven days before the period ends, and after that the files move to a recycle bin that only an administrator can restore from, using PowerShell (a command-line tool). Anything the team still needs has to be found and moved before then.
That situation is avoidable. It comes from keeping shared work in the personal storage area instead of the shared one, and Microsoft 365 gives you both. This post explains what each is for, where files shared in Microsoft Teams actually end up, and a simple rule for sorting your own.
What each one is for
OneDrive is a personal storage area. Microsoft compares it to keeping files on your own computer: nobody else can easily get at them unless you share them. Its guidance says it suits business files that other team members do not need to work on or reach regularly, such as drafts.
SharePoint is where a team or a business keeps shared documents. Each team has a SharePoint site containing a document library (a structured set of folders with extra controls over who can see what). Microsoft says to use it for files with shared ownership, and it recommends separate sites for separate units of work, so that sensitive material such as personnel or finance documents can be limited to a small group. Getting those permissions right matters even more if you use Microsoft 365 Copilot, because it can draw on any file a person has access to, as we explain in our post on Microsoft Copilot permissions.
Where files from Microsoft Teams end up
Teams looks like a third place to store files, but it is a front door to the other two. According to Microsoft, files shared in a standard channel are stored in the team's SharePoint site (private and shared channels get their own separate sites). Files shared in a private chat, a group chat, or during a meeting or call are stored in the OneDrive of the person who shared them.
That second point catches many businesses. A contract attached to a one-to-one chat message sits in the sender's OneDrive, not in a shared library. If that person leaves, the contract goes the same way as the rest of their personal files.
A rule most small businesses can adopt
• Drafts and anything only you need go in your OneDrive.
• Anything the team needs, anything more than one person edits, and every client or project file goes in SharePoint, or in the relevant Teams channel, which is the same place.
• Important files should not sit only on a laptop desktop. Microsoft's Known Folder Move setting can redirect the Desktop, Documents and Pictures folders to OneDrive so people keep working the way they always have.
• Agree a plain filing rule, such as "client files live in the client's folder in SharePoint", and write it down.
Share from the shared place
Where a file lives also affects how you share it. A link to a file in your OneDrive depends on your account. Microsoft's retention guidance notes that once a deleted user's OneDrive passes into the recycle bin, people can no longer reach any content shared from it. In a SharePoint site, the right people already have access because the files belong to the team, so you can point a colleague to the folder and they are in.
Sharing a link instead of emailing a copy also means everyone opens the current version, which avoids five slightly different copies attached to five different emails.
Recovering a file after a mistake
Both services have safety nets, though none of them replace a proper backup. Version history lets you view or restore an earlier version of a file, which Microsoft says helps with accidental changes and with malicious ones such as ransomware (software that scrambles your files and demands payment). Deleted files go to a recycle bin: SharePoint keeps deleted items for 93 days, and OneDrive for work or school accounts purges deleted files after 93 days unless an administrator has changed the setting. OneDrive also has a Files Restore feature that rolls your OneDrive back to any point in the past 30 days.
Restoring from these depends on how your tenant is set up (a tenant is your organisation's own Microsoft 365 account), for example whether versioning is on and whether retention policies apply. Ask your IT provider what is configured, and whether you have a separate backup of Microsoft 365 data.
What to do next
1. Ask each department where its working files live today. Look in particular for client or project files in a single person's OneDrive, and for files shared only through one-to-one Teams chats.
2. Ask your IT provider to confirm your OneDrive retention period and that managers are set to receive access when someone leaves. The defaults are 30 days and manager access, but they can be changed.
3. Write down the rules above, share them with the team, and move the files that are in the wrong place. For a business with years of files in personal folders or an old server, it's worth planning the move as a small migration project rather than leaving it to each person.
If you'd like help sorting shared work out of personal OneDrives and setting retention so a departure doesn't turn into a scramble, our Managed Microsoft 365 team can review how your files are organised.
Sources and further reading
OneDrive retention and deletion (Microsoft Learn)
Set up file storage and sharing in Microsoft 365 (Microsoft Learn)
Identify business requirements for SharePoint and OneDrive (Microsoft Learn)
Isolation and access control in Microsoft 365, Teams file storage (Microsoft Learn)
SharePoint and OneDrive data resiliency in Microsoft 365 (Microsoft Learn)
Overview of OneDrive in Microsoft 365 (Microsoft Learn)
Version history overview (Microsoft Learn)
Data, privacy and security for Microsoft Copilot (Microsoft Learn)

