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"
Visual Basic
$userUPN="user.email@company-email.co.uk"
Visual Basic
$tenantSubDomain="tenant-name"
Visual Basic
$OneDriveURL = "https://$tenantSubDomain-my.sharepoint.com/personal/" + $($userUPN -replace "[@\.]", "_")
Visual Basic
$adminCredential = Get-Credential -UserName $adminUPN -Message "Type the password."
Visual Basic

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

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

Get-SPOSite -Identity $OneDriveURL
Visual Basic

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
Visual Basic

(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 ;-)