Increase OneDrive for Business Storage up to 5TB
The default storage space for each user's OneDrive user is 1 TB. If you have one of the following Office 365 plans, you can increase the storage up to 5 TB:
Office 365 Enterprise E3 and E5
Office 365 Government E3 and E5
Office 365 Education and Office 365 Education E5
OneDrive for Business Plan 2 and SharePoint Online Plan 2
To set the default OneDrive storage space
Open the OneDrive admin center and click the Storage tab.
2. Enter the default storage amount (in GB) in the Default storage box, and then click Save.
This storage space setting applies to all new and existing users for whom you haven't set specific storage limits. To change the storage space for specific users, you need to use Microsoft PowerShell. To check if you've set specific storage limits for a user, run this PowerShell command:
$r=Get-SPOSite -Identity https://superdomain-my.sharepoint.com/personal/noadmin_superdomain_onmicrosoft_com -Detailed $r.StorageQuotaType Default
If the storage type is set to UserSpecific instead of Default, you'll need to use PowerShell to change the storage space manually.
The below PowerShell script will increase the OneDrive for Business Storage Space up to 5 TB
You will be prompt to provide:
- User email address, such as test@litware.com
- Storage size in MB <1TB = 1048576 MB, 5242880 for 5 TB>
Prerrequisites:
Module:
$credential = Get-Credential Import-Module MsOnline Connect-MsolService -Credential $credential Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking $InitialDomain = Get-MsolDomain | Where-Object {$_.IsInitial -eq $true}$user=
Read-Host
"Enter user's email address, such as test@litware.com"
$SharePointAdminURL = "https://$($InitialDomain.Name.Split(".")[0])-admin.sharepoint.com"
$storageSize=
Read-Host
"Enter storage size in binary format <1 TB = 1048576 MB>, 5242880 for 5 TB "
$UserUnderscore
=
$
user
-replace
"[^a-zA-Z0-9]"
,
"_"
$OneDriveURL = "https://$($InitialDomain.Name.Split(".")[0])-my.sharepoint.com/personal/$UserUnderscore
" Connect-SPOService -Url $SharePointAdminURL -credential $credential #To get the current storage run: Get-SPOSite -Identity $OneDriveURL | select StorageQuota #To change the Storage Space run: Set-SPOSite -Identity $OneDriveURL -StorageQuota $#To verify the storage space has been modified run: Get-SPOSite -Identity $OneDriveURL | select StorageQuota
storageSize
Write-Host "
`n You have increased your storage space to $
"
storageSize MB
-ForegroundColor
Green
For info about using PowerShell to connect to SharePoint Online, see Connect to all Office 365 services in a single Windows PowerShell window
Notes:
If your organization has more than 5 users, you can change the storage space to more than 5 TB. Contact Microsoft support to discuss your needs. For more information about the storage space that comes with each plan, see OneDrive for Business service description
You must assign at least one license to a user before you can increase the default OneDrive storage space.