3 Ways to Check Your Storage Space in SharePoint

Are you interested in your storage space and how to check your quota?

SharePoint is essential for optimizing document management and fostering seamless team cooperation. As your reliance on SharePoint continues to grow, so does the volume of data stored and shared within your SharePoint sites.

It is important to understand and navigate the process of monitoring your SharePoint storage space, ensuring that it remains both efficient and effective.

This guide will explore various methods and techniques for checking your SharePoint storage space. You will delve into vital aspects of storage capacity and multiple approaches to gain valuable insights.

By the end of this guide, you will have the knowledge and tools to proactively oversee, manage, and enhance your SharePoint storage resources.

Check Your Storage in SharePoint Admin Centre

The ability to view detailed storage metrics within SharePoint may depend on your permission and role within your organization.

πŸ“ Note: In SharePoint, each organization’s tenancy is allocated a baseline of 1 TB of storage, with an extra 10 GB of storage granted for every licensed user. As these additional allocations accumulate, you could potentially acquire up to 1 TB of extra storage when you have 100 licensed users.

Follow these steps to check storage metrics in SharePoint online from the admin centre.

  1. Login to your tenant Office 365 account as an admin
  2. Click the App launcher at the top left corner of the page.
  3. Click on Admin.

This will take you to the Microsoft 365 admin centre.

  1. Click on the Show all button on the left panel.
  1. Scroll down and click on SharePoint on the left panel.

This redirects you to a SharePoint admin center.

  1. From the home page of the SharePoint admin center, click on active sites on the left panel.

This will list all the active sites in your current tenant.

You can find the storage information at the upper right corner of the Active site page, which displays both the total storage and the amount of storage currently in use, along with the remaining storage capacity.

Additionally, the table of sites below provides a Storage used (GB) column, allowing you to filter and identify the sites that are actively using storage space.

To access the storage information for each site, you will need to navigate to each site individually from your current page.

  1. To go to the site of your choice, click the link from the URL column.

This will take you to the SharePoint site. Next, you will need to get to the site settings.

  1. Click on the gear icon at the top left corner of the page.
  2. A settings panel pops up, click Site information from the panel.
  1. Click on View all site settings from the Site information panel.

On the next page, focus your attention on the Site Collection Administration

  1. Click the Storage metrics link.

On the following page, you will be able to view the various folders within the site collection, including their total size and the date of their last modification.

Check Your Storage with SharePoint Online PowerShell

SharePoint Online PowerShell provides a robust and versatile way to check storage space, making it particularly suitable for administrators and power users who need to manage storage at a more granular level.

πŸ“ Note: You need to have SharePoint Online Management Shell installed on your computer.

To obtain the size of a SharePoint Online site collection, PowerShell offers the Get-SPOSite cmdlet. This cmdlet not only fetches the site’s size but also provides additional details about the site collection, including its URL, owner, storage quota, and more.

Follow the steps to check storage metrics via PowerShell:

$AdminSiteURL = "https://<tenant>-admin.sharepoint.com"
$SiteURL = "https://<tenant>.sharepoint.com/sites/<team site>"
  1. Configure Parameter

Open PowerShell and set configuration parameters for your SharePoint environment, replace https://<tenant>-admin.sharepoint.com and https://<tenant>sharepoint.com/sites/<tenant> with your SharePoint Admin Centre URL and URL of the site you want to check.

After typing this on the shell, press Enter on your keyboard.

$Cred = Get-Credential
  1. Get Credentials

This command obtains the necessary credentials to connect to your SharePoint Admin center. After typing this command, it will prompt you for your admin username and password.

Enter these credentials and click on Enter on your keyboard.

Connect-SPOService -Url $AdminSiteURL -Credential $Cred
  1. Connect to SharePoint Online Admin Center

Replace AdminSiteURL with the Admin URL of your SharePoint. This command involves the use of the provided credentials to connect to the SharePoint Online Admin Center using the Connect-SPOService cmdlet.

Click Enter on your keyboard.

$Site = Get-SPOSite $SiteURL
  1. Get the site collection

Replace the SiteURL with the URL of the team site you want to check the storage metrics for. After typing this command, Click on Enter on your keyboard.

Write-Host "Allocated: " $Site.StorageQuota
Write-Host "Used: " $Site.StorageUsageCurrent
Write-Host "Warning Level: " $Site.StorageQuotaWarningLevel
  1. Display SharePoint Online Site Storage Metrics

This is the final command that displays the SharePoint Online site’s storage metrics, including the allocated storage, current usage, and the warning level, using the Write-Host cmdlet.

This PowerShell retrieves the SharePoint Online site quota in MBs.

To get a site size report using the same PowerShell, this PowerShell script retrieves storage information, including the total allocated size and consumption, for all site collections in SharePoint Online.

#Config Parameters
$AdminSiteURL="https://<tenant>-admin.sharepoint.com"
$ReportOutput="C:\Temp\SPOStorage.csv"
 
#Get Credentials to connect to SharePoint Admin Center
$Cred = Get-Credential
 
#Connect to SharePoint Online Admin Center
Connect-SPOService -Url $AdminSiteURL -Credential $Cred
 
#Get all Site collections
$SiteCollections = Get-SPOSite -Limit All
Write-Host "Total Number of Site collections Found:"$SiteCollections.count -f Yellow
 
#Array to store Result
$ResultSet = @()
 
Foreach($Site in $SiteCollections)
{
    Write-Host "Processing Site Collection :"$Site.URL -f Yellow
    #Send the Result to CSV
    $Result = new-object PSObject
    $Result| add-member -membertype NoteProperty -name "SiteURL" -Value $Site.URL
    $Result | add-member -membertype NoteProperty -name "Allocated" -Value $Site.StorageQuota
    $Result | add-member -membertype NoteProperty -name "Used" -Value $Site.StorageUsageCurrent
    $Result | add-member -membertype NoteProperty -name "Warning Level" -Value  $site.StorageQuotaWarningLevel
    $ResultSet += $Result
}
 
#Export Result to csv file
$ResultSet | Export-Csv $ReportOutput -notypeinformation
 
Write-Host "Site Quota Report Generated Successfully!" -f Green

Open PowerShell and write the commands, replace https://<tenant>-admin.sharepoint.com with your SharePoint Online Admin Center. The report is stored in SPOStorage.csv.

Check Your Storage in Office 365 Admin Center

To check the entire storage of your SharePoint site from the Office 365 Admin Center requires administrator’s privilege. This method gives you the total SharePoint storage size.
You can follow the steps:

  1. Login to your Microsoft 365 environment as an administrator.
  2. Click on the App launcher.
  3. Click on Admin.

This will take you to the Microsoft 365 admin center.

  1. Then, click on the Show all button on the left panel.

This will expand the panel further, scroll down.

  1. Choose Report.
  2. Then click on Usage.

Scroll down till you see SharePoint Files displayed.

  1. Click on the View more button.

Click on Site usage.

Mouse over the points on the Storage graph to see the actual utilized storage size.

Conclusions

By proactively checking your storage metrics, you’ll not only guarantee optimal site performance but also manage resources efficiently, control costs, and adhere to compliance requirements.

Whether you choose the power and flexibility of PowerShell, the comprehensive insights from the SharePoint Admin center, or the convenience of SharePoint’s built-in reports, the end goal is the same: a SharePoint environment that operates at its best.

As you implement these methods, you’re taking a proactive step toward ensuring your SharePoint site remains a hub of productivity and collaboration.

With the ability to manage storage efficiently, you’re equipped to support your organization’s growth and success in today’s data-driven world.

About the Author

Durojaye Olusegun

Durojaye Olusegun

Durojaye is a cybersecurity professional and data analyst with a knack for distilling complex technical information into simple, digestible guides. His diverse skill set not only covers the intricate world of cybersecurity but also delves into the realm of Microsoft 365 tools. Whether he's crafting informative blog posts or engaging social media content, or staying updated on the latest trends in his field, Durojaye always brings a unique perspective to his work.

Related Articles

Comments

1 Comment

  1. patrice

    Hello,
    I need the same script for create alerte storage for the All tenant, not just one site, and send an email to the IT user when the storage is full when a % of alert

    Thanks

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Get the Latest Tech Tips

Write For Us

Are you a tech enthusiast with a talent for writing great content? Come write for us!

Follow Us

Follow us on social media to stay up to date with the latest in tech!