Home › SharePoint Online › Storage limit exceeded

SharePoint Online · Storage limit exceeded · SharePoint Online / Microsoft 365

SharePoint Online Storage Limit Exceeded Error - Microsoft 365

The site collection has exceeded its storage quota, blocking file uploads and document operations. Fix by increasing the quota, clearing Recycle Bin, or archiving large files.

Error Details

FactValueSourceNote
Exact error stringStorage limit exceeded for this siteSharePoint Online error message->
HTTP error code403 SPSiteFullNetwork response headers->
Affected build rangeSharePoint Online / Microsoft 365 (latest builds)Microsoft 365 admin center->
Relevant service/endpoint URLhttps://admin.microsoft.com/Adminportal/Home?#/ SharePoint admin centerSharePoint Online admin portal->
Log line signatureStorage limit exceeded for site collection [Site ID]Microsoft 365 audit logs->

Log Files to Check

What This Error Actually Means

The error "Storage limit exceeded for this site" is a critical warning issued by SharePoint Online when a site collection has reached its assigned storage quota. This error can manifest as an HTTP status code 403 SPSiteFull, indicating that the server understood the request but refuses to authorize it due to exceeding storage limits. The error originates from the SharePoint Online service itself and is raised whenever a user attempts to upload files, check in documents, or perform any action that would increase the site's storage usage beyond its allocated limit. This issue can significantly impact productivity within an organization as users are unable to add new content until the problem is resolved. It affects all aspects of SharePoint functionality, including document management, collaboration tools like Microsoft Teams, and OneDrive for Business integration. The error string "Storage limit exceeded for this site" is displayed prominently in the user interface when attempting to perform actions that would exceed the storage quota.

Affected Versions and Scope

This issue affects all versions of SharePoint Online and Microsoft 365, including the latest builds as of the current date. It impacts both on-premises and cloud-based deployments but is most commonly encountered in SharePoint Online environments due to its nature as a hosted service with strict storage quotas. The error does not occur in scenarios where site collections have unlimited or very high storage quotas assigned by administrators. However, it can affect any tenant that has reached the maximum storage limit for their entire Microsoft 365 subscription, regardless of individual site collection limits. This is particularly relevant for organizations that have multiple sites and are nearing their overall storage capacity.

Where To Look First: Logs and Event IDs

To diagnose this issue effectively, sysadmins should first consult the SharePoint Online audit logs and Microsoft 365 tenant activity logs available in the SharePoint admin center. The exact log paths include: - https://admin.microsoft.com/Adminportal/Home?#/Audit - https://admin.microsoft.com/Adminportal/Home?#/Activity In these logs, look for entries with the signature "Storage limit exceeded for site collection [Site ID]". This line will provide critical information about when and where the storage quota was breached. Additionally, Event IDs 5140 and 5142 are particularly relevant as they indicate storage usage alerts and warnings. The Unified Audit Log is another valuable resource to monitor permission changes and access events that might have contributed to the storage limit being reached. For example, if a large number of files were uploaded by a specific user or group, this activity would be recorded in the audit logs under "Audit log search" within the SharePoint admin center.

Root Causes

Large File Uploads and Data Migration

One common cause is the upload of very large files or data migration activities that exceed the site's storage quota. This can happen during bulk file transfers, such as importing legacy document repositories into SharePoint Online. To identify this issue, check the "Storage metrics" page in Site Settings for any sudden spikes in storage usage.

Microsoft Teams and Video Recordings

Another frequent cause is heavy video recording activity within Microsoft Teams channels. Each channel stores its files in an underlying SharePoint team site, which can quickly consume available storage if multiple large videos are uploaded regularly. Navigate to the site's "Storage metrics" page to see the total storage used by different folders and libraries.

Version History Retention

Enabling version history on document libraries with many large files can lead to cumulative storage consumption from old versions, especially when a high number of major or minor revisions are retained. To diagnose this issue, review the "Versioning settings" for each library and calculate total version storage using the Storage Metrics page.

Recycle Bin Items

Deleted items remain in the Recycle Bin until explicitly emptied, and these still count against the site's storage quota. Large deletions can paradoxically consume more quota if items remain in the Recycle Bin for an extended period. Check both stages of the Recycle Bin to assess their impact on storage usage.

Fix Procedure

To resolve this issue, follow these steps: 1. **Increase Site Collection Quota**: - Navigate to https://admin.microsoft.com/Adminportal/Home?#/SharePoint/Sites/ActiveSites - Select the affected site - Click "Edit storage limit" next to the storage bar and increase the quota in GB - Save changes 2. **Empty Recycle Bin**: - Navigate to https://tenant.sharepoint.com/sites/sitecollection/SiteContents/RecycleBin - Empty both stages of the recycle bin (First-stage and Second-stage) - Alternatively, use PowerShell:
Connect-PnPOnline -Url "https://tenant.sharepoint.com" -Interactive
Clear-PnPRecycleBinItem -All -Force
3. **Delete Old File Versions**: - Navigate to a document library > Library settings > Versioning settings - Reduce major version limit to a lower number (e.g., 50 instead of 500) - Use PowerShell to trim existing versions in bulk:
Get-PnPListItem -List 'Documents' | ForEach-Object { Get-PnPProperty -ClientObject $_ -Property Versions | ForEach-Object { $_.DeleteByLabel('1.0') } }
4. **Move or Archive Large Files**: - Use SharePoint to OneDrive move (site owner: select files > Move to > OneDrive) - Alternatively, use SharePoint's archival feature if available in your Microsoft 365 plan
Be cautious when emptying the recycle bin as this action is irreversible and can break enrolled devices that rely on deleted content.

Error Code Variants

CodeDescription
403 SPSiteFullStorage limit exceeded for this site (SharePoint Online)
500 InternalServerErrorGeneric server error, could indicate other issues like network problems or service outages.
413 RequestEntityTooLargeIndicates that the request entity is larger than allowed by the server (common for large file uploads).

Verification

After implementing the fixes, verify success by: - Refreshing https://admin.microsoft.com/Adminportal/Home?#/SharePoint/Sites/ActiveSites and checking if the red indicator on storage usage has cleared. - Attempting to upload a small test file directly into the site collection. This should succeed without encountering the "Storage limit exceeded" error.

Prevention

To prevent recurrence of this issue, consider implementing the following policies: 1. **Regular Monitoring**: Set up alerts in the SharePoint admin center for storage usage thresholds to proactively manage quotas. 2. **Version History Management**: Implement a strict version history policy that limits major and minor versions retained per document library. 3. **Recycle Bin Policies**: Configure recycle bin retention policies to automatically purge items after a set period, reducing long-term storage consumption. 4. **Data Archiving Solutions**: Utilize SharePoint's data archiving features or third-party tools to move less frequently accessed files out of primary storage locations. By adhering to these best practices and regularly reviewing site collection usage patterns, organizations can mitigate the risk of encountering "Storage limit exceeded" errors in their SharePoint Online environments.

Sources & References

Related Guides

Get new error code fixes by email

Product-specific solutions for Intune, Autopilot, SCCM and Entra ID — straight to your inbox. No spam.