Wednesday, January 25, 2017

SharePoint Online: Change Storage Quota of Site Collection using PowerShell

Requirement: Increase storage quota in SharePoint Online

How to set the storage quota of a site collection in SharePoint Online:
To set storage quota of SharePoint site collection, Follow these steps:

  • Login to your SharePoint Online Admin Center (
  • Click on "Site Collections" link in left navigation. From the available site collections, Select the target site collection to change storage quota
  • Click on "Storage Quota" button from the ribbon. 
    sharepoint online change storage quota
  • From the storage quota page, enter the new quota for your site collection. You can optionally enable Email notification to the site administrators when storage reaches particular threshold.
    sharepoint online set storage quota
  • Click on "Save" to commit apply new storage quota to your SharePoint Online site.

How to Change storage quota using PowerShell in SharePoint Online ?
To set storage quota in SharePoint Online, use: Set-SPOSite cmdlet. Here is how:

Step 1: Connect to SharePoint Online
Connect-SPOService -URL $AdminURL -Credentials (Get-Credential) 

Step 2: Change storage quota with Set-SPOSite cmdlet.
#Set Storage Quota
Set-SPOSite -Identity $SiteURL -StorageQuota 2000
It takes a while to execute, and you can verify the new stroage quota from Admin site.
sharepoint online increase storage quota powershell
How to Increase Storage quota for all site collections?
#Get all the site collection
$AllSites = Get-SPOSite -Limit All

#Set Storage quota for each site collection
Foreach ($Site in $AllSites)
 Set-SPOSite -Identity $Site.URL -StorageQuota 10000 -StorageQuotaWarningLevel 8000

You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.

Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...