← Al Davies, 250 High Street

SharePoint storage almost full: free up space

Start with file versions. A SharePoint administrator can queue a trim job that cuts version storage on a site, library or OneDrive account, but deleted versions are permanent, so run a What-if analysis first and check for a retention hold.

What are people seeing?

In March 2026 a user wrote in Microsoft Q&A that tenant storage was at 90 percent and that a 7-year retention policy blocked version cleanup.

Which trim mode fits?

ModeWhat it doesLimits Microsoft states
Automatic (recommended)Deletes versions or sets expiry using the automatic version storage algorithm, depending on version ageNone listed beyond the algorithm
Manual expirationDeletes versions older than the number of days you setNever deletes versions from the last 30 days, so the value cannot be under 30. Always deletes versions created before January 1, 2023
Manual count limitDeletes the oldest versions above the count you setExample on the page: versions beyond 50 major versions

How do you trim old versions?

  1. Sign in as a SharePoint Administrator in Microsoft 365.
  2. Generate a version storage usage report for the site or library.
  3. Run a What-if analysis for each trim mode and compare the storage saved.
  4. Queue the trim job with the mode and scope you chose.
  5. Track progress until the status shows completed.

How long does a job take?

Microsoft says trim jobs run in the background and depend on the number of versions, service health and other jobs, and they follow off-peak hour processing. On a large site the job can take a few days.

What is the tenant-level option?

Tenant-level trimming applies your tenant version policy to all sites in one job. As of November 2026, Microsoft calls it a public preview and says it needs a SharePoint Advanced Management license or a Copilot license. Only one job is allowed per tenant at a time. Read-only, locked and archived sites are skipped, and so are sites with a broken version policy inheritance. If your tenant is Multi-Geo, run the What-if analysis and the trim separately for each geo location.

What are the risks?

Microsoft's caution is plain: versions deleted by trim jobs are permanently deleted, bypass the recycle bin and cannot be recovered unless you had a backup such as Microsoft 365 Backup. You can stop a job in progress, but versions already deleted stay deleted.

What if a retention hold blocks cleanup?

Microsoft's versions FAQ says the retention setting always wins. When a trim job meets a version under a retention policy or eDiscovery hold, it stamps an expiration date instead of deleting it. If the hold is still in effect on that date, the date is extended, and if the hold has been lifted, the version is deleted. In the Q&A thread, a volunteer moderator suggested two routes: exclude specific sites from the retention policy, or use Priority cleanup, which Microsoft says overrides existing retention settings or eDiscovery holds to delete content. Use those only with the approval of your compliance owner.

What else can you check?

Look at how much space each site uses and which sites you no longer need. Our guide on how much storage SharePoint has shows the starting number, and how many versions SharePoint keeps explains the version side. For list size problems, see list size limits. Tidy access too, using these permission habits.

Need a clean-up plan?

Al Davies builds tools that cut busywork and missed steps for teams. A repeatable storage review checklist is a fine topic for the free 45 minute first call.

FAQ

Can I get trimmed versions back?

Not from the recycle bin. Microsoft says they can only be recovered if you backed up the data first.

Who can queue a trim job?

A SharePoint Administrator in Microsoft 365, by Microsoft's page.

Can I trim from PowerShell?

Yes. Microsoft lists SharePoint Online Management Shell commands for site and library jobs, including a command to check progress and one to stop a job.

Why can I not trim below 30 days?

Microsoft says manual expiration never deletes versions created in the last 30 days.

Does a What-if analysis delete anything?

No. It previews the storage saved so you can compare modes before you commit.

Sources