Extending Onedrive for business to 5TB

Looking through the different Office 365 Enterprise plans the other day I noticed the following at the bottom:

4. Unlimited personal cloud storage for qualifying plans for subscriptions of five or more users, otherwise 1 TB/user. Microsoft will initially provide 1 TB/user of OneDrive for Business storage, which admins can increase to 5 TB/user. Request additional storage by contacting Microsoft support. Storage up to 25 TB/user is provisioned in OneDrive for Business. Beyond 25 TB, storage is provisioned as 25 TB SharePoint team sites to individual users.

https://www.microsoft.com/en-us/microsoft-365/business/compare-more-office-365-for-business-plans

You can choose to extend for particular users or the entire organization.

Changing for all users:

Go to https://admin.onedrive.com and choose “Storage”. Change “Standard storage in GB” to desired size – 5120 GB equal 5TB.

For a particular user:
If you do not want to go all the way to extend it to 5 TB right away that is not a problem. Remember that StorageQuota needs to be set in mb:

Storage quotaIn mb
1 TB1048576
2 TB2097152
3 TB3145728
4 TB4194304
5 TB5242880

Before you can set the desired size on the Onedrive you need to obtain the OneDrive url for the user.

The OneDrive URL can be located by looking at the user at https://admin.microsoft.com – Selecting OneDrive and then “Link to files”.

You then need to connect to Sharepoint Online in Powershell as a Global Admin and run the following command:

Set-SPOSite -Identity <user’s OneDrive URL> -StorageQuota <quota>