Forum Discussion

VigneshGanesan's avatar
Nov 21, 2017

Setting quotas for existing site collection in SharePoint Online

Hi ,

 I have a requirement where I need to change the site quota for all the existing SharePoint Online sites to 50 GB . Is there a power shell script that can help me to achieve this for all the site collections in my tenant ? I checked the below Powershell command but this can be used only for one site collection whereas my requirement is to do this for all the existing site collections in the tenant .Please let me know .

Set-SPOSite -Identity https://contoso.sharepoint.com -StorageQuota 3000 -StorageQuotaWarningLevel 2000

and it

Resources