SamTech 365

Power Platform, Copilot & SharePoint guides by Samir Daoudi

How to Find What Is Filling Your Microsoft 365 Storage: A Step-by-Step Audit

A practical audit order for SharePoint storage: tenant total, largest sites, versions, recycle bins, held content and duplicates, then what to do with each.

Summary: When SharePoint storage runs short, the admin centre tells you how much is used but not what is using it. This is the order I work through to find out: the tenant total, the largest sites, and then inside those sites for versions, recycle bins, held content and duplicates. Allow half a day for a mid-sized tenant.

Start with how the quota is calculated

SharePoint storage is a single pool for the whole tenant. For most plans, Microsoft’s service description gives you 1 TB plus 10 GB for each eligible licence, plus any extra storage you have bought. Every site draws from that pool, so one busy project site can use space the rest of the organisation was counting on.

Two details catch people out. First, the recycle bin counts towards the total, so deleting files does not free space until the bin is emptied or its retention period passes. Second, OneDrive is separate: each licensed user has their own allocation and it is reported on its own. Treat OneDrive as a parallel audit, not part of this one.

If a tenant keeps running over its limit, Microsoft’s documentation warns that sites can be placed in read-only mode. That is the point where this stops being housekeeping. I covered that scenario in what breaks first when the SharePoint quota is exceeded; this post is about the investigation that should happen before you get there.

Step 1: get the tenant number and the trend

In the Microsoft 365 admin centre, open Reports, then Usage, then SharePoint, and look at the storage view. Note the total used against the quota, and pay more attention to the shape of the line than to today’s figure.

  • A steady climb means ordinary growth. You have time, and the answer is usually policy.
  • A sudden step means an event: a migration, a team that started recording every meeting, or a retention policy that was switched on.

Write down the date of any step. It will save you time later when you are trying to work out which site changed.

Step 2: rank the sites

In the SharePoint admin centre, open Active sites, add the storage column if it is not visible, sort by it and export the list. Storage is rarely spread evenly, so I start with the top twenty sites and ignore the rest until those are understood.

If you would rather script it, my PowerShell scripts for SharePoint and Microsoft 365 include one that exports every site collection with its storage usage, owners and whether it is connected to a Team.

For each site in the top twenty, record four things: who owns it, whether it sits behind a Team, when it was last active, and how much it uses. A large site that nobody has touched for two years is a very different conversation from a large site that is in daily use.

Step 3: look inside the largest sites

Open each large site, go to Site settings and choose Storage Metrics. This page breaks the site down by library and folder, and the sizes include version history, which is why the numbers here are often much larger than what you see when you add up the visible files.

In my experience the space goes to the same four places.

Version history

Versions count towards the quota, and large files that are edited often build up quickly. Check the version settings on the biggest libraries. Be aware that trimming is not always the quick win it looks like: Microsoft’s guidance is clear that version trimming does not remove anything that a retention policy or hold is preserving.

Recycle bins

Each site has a first-stage and a second-stage recycle bin, and both count. After a big clean-up, the space only comes back when the bins are emptied.

The Preservation Hold Library

If retention policies or eDiscovery holds apply to a site, SharePoint keeps preserved copies in a hidden library. It can become the largest library on the site. Do not edit or delete its contents by hand. If it is the problem, the fix is a retention decision made with whoever owns compliance, not a clean-up.

Recordings and other large media

Meeting recordings, design files, database backups and exported mailboxes all end up in document libraries. Sort the largest libraries by file size and you will usually find a handful of files that explain a surprising share of the total.

Step 4: find what is only large in aggregate

The steps so far find big things. The harder category is content that is small file by file and large in total: the same document saved in five places, old drafts that were never removed, project sites that finished years ago and were never archived.

The native tools do not report on this directly. What you can do by hand:

  • Export a file inventory for the largest libraries and look for repeated names and identical sizes.
  • Filter by last modified date to see how much has not changed in two or three years.
  • Search for the patterns people use when they copy files: “copy”, “final”, “v2”, “old”.

This works for one site. It becomes slow across a tenant, which is the reason most teams skip it and buy storage instead.

Step 5: decide what happens to each category

Finding the content is half of the work. The other half is agreeing what to do with it, and I keep that to four options:

  • Delete: true duplicates and recycle bin contents, once the owner agrees.
  • Archive: inactive sites that must be kept. Microsoft 365 Archive is worth a look here, because archived content does not count towards the active storage quota.
  • Limit: set sensible version limits on libraries that hold large, frequently edited files.
  • Keep and pay: some growth is real. If the content is current and needed, extra storage is a legitimate answer.

Whatever you choose, agree it with the content owner first. IT can see that a file is large and old. Only the owner knows whether it still matters.

Where TSO fits

I built Tenant Storage Optimisation because step 4 was the part I could never do properly by hand. TSO scans SharePoint, OneDrive, Exchange and Teams with read-only permissions, finds the duplicates and stale files across the whole tenant, and gives you a ranked list of what can be reclaimed, with reports in PDF and Excel that you can take to the content owners. It does not delete anything. The decisions in step 5 stay with you.

If you run the manual audit first, you will understand your tenant better. If you need the answer this week, start with the scan and use this post to interpret what it finds.

Discover more from SamTech 365

Subscribe now to keep reading and get access to the full archive.

Continue reading