Office
Sign in

Change a specific user's OneDrive storage space

As a global or SharePoint admin in Office 365, you can set the OneDrive storage space for a specific user by using Microsoft PowerShell.

Note: For info about setting the default storage space, see Set the default storage space for OneDrive users. For info about the storage available for your Office 365 plan, see the OneDrive for Business service description.

Change the storage space for a specific user's OneDrive

  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-SPOSite -Identity <user's OneDrive URL> -StorageQuota <quota>

    (Where <user's OneDrive URL> is the URL of the user's OneDrive and <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.)

    Note: If you want to change the storage space for multiple users, you can use PowerShell to Display a list of OneDrive accounts by using PowerShell. To disable OneDrive creation for specific users, see Disable OneDrive creation for some users.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×