GOVERNANCE · April 12, 2026 · Updated November 6, 2026 · 5 min read
OneDrive Cleanup Before Copilot: The Storage Audit Nobody Does
Before you enable Copilot, ask yourself one question: what is actually sitting in your OneDrive accounts right now?
Not what should be there. Not what your policies say should be there. What is actually there: the stale spreadsheets, the ex-employee drives, the files shared externally three years ago via an Anyone-link that was never revoked. Because the moment Copilot turns on, it indexes the entire reachable surface for every user. And OneDrive is a very large part of that surface.
The Hidden Cost of OneDrive Sprawl
Every Microsoft 365 tenant accumulates OneDrive debt. It happens slowly and silently. An employee leaves; their OneDrive enters a 30-day retention window, gets extended by IT, and then sits there indefinitely because deleting it feels risky and nobody has time to review 40 GB of files. Multiply that by every departure over three years and you have a meaningful percentage of your tenant’s storage consumed by content that nobody owns, nobody reviews, and nobody remembers exists.
The storage cost is real but manageable. The compliance cost is worse. Those departed-user drives may contain customer data, financial records, HR documents, or intellectual property. They are not governed by any active retention policy because the owning user no longer exists in the directory. They are not labeled because labels require a human to apply them. And they are fully indexable by Copilot.
Then there is the external sharing problem. OneDrive makes it trivially easy to share a file with Anyone-with-the-link. That is by design: it removes friction for collaboration. The problem is that these links accumulate over years. Nobody audits them. Nobody expires them. And every broad link widens the set of people who can reach the file, which means the set of people Copilot can surface it for. Copilot does not distinguish between “intentionally shared broadly” and “someone clicked the wrong sharing option in 2023.”
5 Things to Check Before Enabling Copilot
A proper OneDrive cleanup audit should cover five categories. These are the same categories MigrationFox’s OneDrive Cleanup Wizard flags, but you can start by understanding what to look for:
- Oversized accounts (80% or more of their storage quota). These accounts are one large upload away from sync failures. They also tend to be the accounts with the most diverse content, and therefore the most Copilot exposure. Identify them, work with the owners to archive or offload old content, and get storage under control before Copilot starts indexing everything.
- Stale accounts (owner has not signed in for 12+ months). If nobody has signed in to use a OneDrive in over a year, the content is either archived-in-place (fine, but should be labeled) or abandoned (not fine). Either way, Copilot will index it and surface it in responses as if it were current. Flag stale accounts and decide: archive formally, delete, or transfer ownership.
- Broad sharing links. Find every OneDrive with Anyone links or organization-wide links. How many? Who created them, and when? The answers determine your risk profile. A OneDrive full of old Anyone links is a Copilot oversharing event waiting to happen.
- Departed users (disabled accounts with active OneDrive). These are the highest-risk accounts in the tenant. The user is gone, the content persists, and nobody is responsible for it. Copilot will index these drives just like any other. Find every disabled account that still has a provisioned OneDrive, decide on retention, and either archive or delete.
- Orphan content (no sign-in for 6+ months). The user account is technically active but the human behind it has not signed in for half a year. This is the early warning for the departed-user problem. These accounts are candidates for a conversation with HR: is this person still with the organization? If not, start the offboarding process before the OneDrive becomes fully orphaned.
How MigrationFox Automates This
Doing this manually is possible but painful. You need to pull OneDrive usage reports from the admin center, cross-reference them with Entra ID sign-in logs, check sharing links per user through Graph, and then correlate everything in a spreadsheet.
The OneDrive Cleanup Wizard in MigrationFox does the correlation for you. Connect an app registration, run the scan, and get a categorized results page. Every flagged account is tagged with its issue categories and severity, and you can filter by category and sort by issues, storage used, or quota usage.
What the scan actually reads, so you know how far to trust it:
- Up to 100 accounts per scan. Larger tenants need a broader tool or a manual pass for the rest.
- Storage quota and account status for each user, from Microsoft Graph.
- Sign-in activity for the stale and orphan checks. This needs
AuditLog.Read.All; without it the scan still runs, but without sign-in data. - Sharing links on the top level of each OneDrive only. The scan reads the permissions on the root of the drive, not on every file and folder inside it. Anyone links and organization-wide links are both counted as broad links; a link shared deep inside a folder tree will not be counted.
The app registration needs User.Read.All to list users, AuditLog.Read.All for sign-in activity, and read access to OneDrive content metadata. The scan is analysis only and read-only: it never opens, changes, moves, or deletes files, and it does not revoke links. The cleanup itself is up to you.
Start Before You Turn On Copilot
The best time to clean up OneDrive was before you bought Copilot licenses. The second best time is right now, before you assign them.
The OneDrive Cleanup Wizard comes with the Tenant Suite or Consultant Pro; a single report pack does not include it. Not sure yet? Start with a free snapshot of the SharePoint and OneDrive report pack, which covers the tenant sharing settings and every OneDrive account. Prices are on the pricing page.
Clean OneDrive before Copilot. Not after.