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.


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.)


    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 Manage user profiles in the SharePoint admin center.