Set the default storage space for OneDrive users

The default storage space for each user's OneDrive user is 1 TB. Depending on your Office 365 plan (see the OneDrive for Business service description for info), you can increase the storage up to 5 TB.

Note

For help finding out which subscription you have, see What Office 365 for business subscription do I have?
If your organization has 5 or more users, you can change the storage space to more than 5 TB. Contact Microsoft support to discuss your needs. You must assign at least one license to a user before you can increase the default OneDrive storage space.

Set the default OneDrive storage space in the OneDrive admin center

  1. Open the OneDrive admin center and click Storage in the left pane.

    The Storage page of the OneDrive admin center

  2. Enter the default storage amount (in GB) in the Default storage box, and then click Save.

Note

The minimum storage is 1 GB.

This storage space setting applies to all new and existing users for whom you haven't set specific storage limits. (To check if a user has a specific storage limit, see the next section.) To change the storage space for specific users, you need to use Microsoft PowerShell. For info on how to do this, see Change your users' OneDrive storage space using PowerShell.

Check if a user has the default storage limit or a specific limit

  1. Download the latest SharePoint Online Management Shell.

    Note

    If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and uninstall “SharePoint Online Management Shell.”
    On the Download Center page, select your language and then click the Download button. You’ll be asked to choose between downloading a x64 and x86 .msi file. Download the x64 file if you’re running the 64-bit version of Windows or the x86 file if you’re running the 32-bit version. If you don’t know, see https://support.microsoft.com/help/13443/windows-which-operating-system. After the file downloads, run it and follow the steps in the Setup Wizard.

  2. Connect to SharePoint Online as a global admin or SharePoint admin in Office 365. To learn how, see Getting started with SharePoint Online Management Shell.

  3. Run the following command:

    $r=Get-SPOSite -Identity <user's OneDrive URL> -Detailed
    $r.StorageQuotaType
    

    (Where <user's OneDrive URL> is the URL of the user's OneDrive). A user’s OneDrive URL is based on their username. You can find their username on the Active users (or Deleted users) page in the Microsoft 365 admin center. For example, https://microsoft-my.sharepoint.com/personal/user1_contoso_com

    The command will return "Default" if the user has the default storage limit or "UserSpecific" if the user has a specific limit.

Set the default OneDrive storage space using PowerShell

  1. Download the latest SharePoint Online Management Shell.

  2. Connect to SharePoint Online as a global admin or SharePoint admin in Office 365. To learn how, see Getting started with SharePoint Online Management Shell.

  3. Run the following command:

    Set-SPOTenant -OneDriveStorageQuota <quota>
    

    Where <quota> is the value in megabytes for the storage space. For example, 1048576 for 1 TB or 5242880 for 5 TB. You can specify any value that you want, however, if you specify a value greater than that allowed by a given user's license, that user's storage space will be rounded down to the maximum value allowed by their license.

    To reset an existing user's OneDrive to the new default storage space, run the following command:

    Set-SPOSite -Identity <user's OneDrive URL> -StorageQuotaReset
    

See also

More info about using Set-SPOTenant