Someone resigns. On their last day their Microsoft 365 account is disabled, the laptop comes back, and the offboarding checklist gets ticked.
That handles access. It does very little about the files.
The gap between those two things is where most intellectual property quietly leaves a business. It is rarely malicious. Far more often it is a sales manager who synced the shared drive to a home laptop two years ago, or an engineer whose Desktop folder was redirected into OneDrive and still sits on a personal machine nobody ever enrolled.
Disabling the account does not do what people assume
Blocking sign-in stops that person signing in. It does not retrieve anything already on a device, close anything they shared with an outside party, or remove company files from hardware you do not manage.
It also does not immediately cut off what they had shared internally. When a user is deleted, Microsoft’s own documentation is explicit that during the retention window "other users can still access shared content."
The OneDrive timeline, which is shorter than most people expect
When you delete a user, their OneDrive is kept for a period set in the SharePoint admin centre. The default is 30 days. It can be set anywhere from 30 days to 3,650 days.
After that window closes, the OneDrive stays in a deleted state for a further 93 days, and from that point only a SharePoint Administrator can restore it, using PowerShell rather than the admin centre.
Two practical consequences follow.
If nobody retrieves the leaver’s working files inside 30 days, recovery stops being an admin task and becomes a technical one. And if nobody retrieves them at all, the files are eventually gone. We have seen a business discover a departed estimator’s quote templates were unrecoverable four months after the fact, which is a data loss problem rather than a security one, and it hurts just as much.
The 30 day default suits very few organisations. Most should raise it. Almost nobody does, because almost nobody knows it is there.
The copies that are not in Microsoft 365 at all
This is the part that catches people.
The sync client. OneDrive sync places real copies of files on every machine it runs on. Disabling the account stops future syncing. It does not reach back and remove what already landed on the disk.
Known Folder Move. Many tenants redirect Desktop, Documents and Pictures into OneDrive. It is a sensible setting and we often recommend it. It also means the contents of someone’s Desktop, including whatever they dragged there over four years, is in scope.
Personal devices. If staff access company files from personal laptops or phones and those devices were never enrolled in device management, there is no mechanism to remove company data from them. Not a slow one. None. The ability to wipe company data selectively is a function of managing the device, and that has to be in place beforehand.
External shares. Sharing links generally belong to the file rather than the person who created them. A link to a supplier, a client or a personal address keeps working after its creator has gone. Most organisations have never audited who their files are shared with outside the business, and the report is usually uncomfortable reading.
What closes the gap
None of this requires unusual tooling. In most tenants it is configuration, and frequently configuration included in licences the business already pays for.
Raise the OneDrive retention period from the 30 day default to something matched to how long it realistically takes to notice that a leaver’s files are needed.
Transfer ownership before the account is deleted, not after. Reassign the OneDrive to the person’s manager while the account still exists and the whole PowerShell exercise never happens.
Audit external sharing, then decide what the policy should be. Anonymous "anyone with the link" sharing is enabled by default in many tenants and is worth a deliberate decision rather than an inherited one.
Manage the devices that hold company data. Enrolment is what makes selective wipe possible. Without it, offboarding stops at the account boundary.
Separate the leaver process from the IT request. The failure is almost never technical. It is that HR knows someone is leaving on the fourteenth and IT finds out on the fifteenth.
Write it down. An offboarding checklist that exists only in somebody’s head is the control that fails when that person is on leave.
Where this usually surfaces
Most businesses do not address this because it bothers them. They address it because something forces the issue: an ISO 27001 auditor asking how access is revoked, a client contract with security clauses, an insurer’s questionnaire, or a departure that went badly.
If any of those applies to you, the work is more predictable than it looks. The first step is establishing what is actually configured today, which is rarely what anyone believes is configured.
Sources
Checked 20/11/2026. Microsoft Learn, Restore a deleted OneDrive: learn.microsoft.com, last updated 7 February 2025. Microsoft Learn, Set the OneDrive retention for deleted users: learn.microsoft.com, last updated 5 April 2025.