SPO – How to set storage quota

Imagine you have a webapplication where all the users are allowed to upload all the documentation that they want, you know that users love free space, so they will upload as much files as they can, but may be situations or business decisions when is it necessary to put on a quota to restrict the space that users can use.

For example, if you want to know what storage quota do you have for a particular site, you will need to navigate to Site settings –> Site Metrics

sm1

But, if you want to set a quota limit in SPO, you will need PowerShell to do that, so let’s begin

Execute the following:

$cred = get-credentials

Set-SPOSite –Identity https://urlappweb/yoursite -StorageQuota 512000 -credentials $cred

Once the PS has been executed, you can verify the quota that has been set

sm2

Happy SharePointing!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s