Upgrade OneDrive to 5TB

Modified on Tue, 10 Dec 2019 at 07:27 PM

Overview: in the rare circumstance that a user needs more than 1 TB of storage on their business OneDrive it is possible (last verified Jan-2020) to upgrade to 5 TB. These are the steps required:


Your will need:

Step 1: Launch SharePoint Online Management Shell

Step 2: Type in each line of code, substituting the relevant admin, tenant and user details: [press enter after each line]

$adminUPN="admin.user@tenant-name.onmicrosoft.com"
$userUPN="user.email@company-email.co.uk"
$tenantSubDomain="tenant-name"
$OneDriveURL = "https://$tenantSubDomain-my.sharepoint.com/personal/" + $($userUPN -replace "[@\.]", "_")
$adminCredential = Get-Credential -UserName $adminUPN -Message "Type the password."

Connect-SPOService -Url https://$tenantSubDomain-admin.sharepoint.com -Credential $adminCredential

At this point you should be connected and ready to query the user's existing quota:

Get-SPOSite -Identity $OneDriveURL

You can set the new quota up to a maximum of 5242880 MB (1024 * 1024 * 5 = 5242880 MB or 5 TB)

Set-SPOSite -Identity $OneDriveURL -StorageQuota 5242880

(Now re-enter the Get-SPOSite command to verify that the new quota has been applied)


That's it! If you need more than 5 TB for a user, feel free to contact us and we'll happily help ;-)


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article