Change a specific user's OneDrive storage space

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

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 Microsoft 365 subscription, see the OneDrive service description.

Note

If your organization is configured for multi-geo, you need to use PowerShell to change a user's OneDrive storage space. Editing storage limits isn't available in the Microsoft 365 admin center.

Change a user's storage space in the Microsoft 365 admin center

  1. Sign in to https://admin.microsoft.com as a global or SharePoint admin. (If you see a message that you don't have permission to access the page, you don't have Microsoft 365 admin permissions in your organization.)

    Note

    If you have Office 365 Germany, sign in at https://portal.office.de.
    If you have Office 365 operated by 21Vianet (China), sign in at https://login.partner.microsoftonline.cn/.
    Then select the Admin tile to open the admin center.

  2. In the left pane, select Users > Active users.

  3. Select the user.

  4. Select the OneDrive tab.

  5. Under Storage used click Edit.

  6. Select the Maximum storage for this user option, and type the storage limit that you want to use.

  7. Click Save.

    Screenshot of the OneDrive storage settings in the Microsoft 365 admin center

When you need cloud storage for individual users beyond the initial 5 TB, additional cloud storage will be granted as follows:

  • When a user has filled their 5 TB of OneDrive storage to at least 90% capacity, Microsoft will increase your default storage space in OneDrive to up to 25 TB per user (admins may set a lower per-user limit if they want to).

  • For any user that reaches at least 90% capacity of their 25 TB of OneDrive storage, additional cloud storage will be provided as 25 TB SharePoint team sites to individual users. For more information and assistance, contact Microsoft Support.

  • Admins can check for OneDrive eligibility beyond 5 TB via Check OneDrive site eligibility for increased storage.

Change a user's storage space by using PowerShell

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

  2. Save the following script as a PowerShell file. For example, you could save it to a file named UpdateOneDriveStorage.ps1.

    $TenantUrl = Read-Host "Enter the SharePoint admin center URL" 
    Connect-SPOService -Url $TenantUrl 
    
    $OneDriveSite = Read-Host "Enter the OneDrive Site URL" 
    $OneDriveStorageQuota = Read-Host "Enter the OneDrive Storage Quota in MB" 
    $OneDriveStorageQuotaWarningLevel = Read-Host "Enter the OneDrive Storage Quota Warning Level in MB" 
    Set-SPOSite -Identity $OneDriveSite -StorageQuota $OneDriveStorageQuota -StorageQuotaWarningLevel $OneDriveStorageQuotaWarningLevel 
    Write-Host "Done" 
    
  3. Open the SharePoint Online Management Shell. Run the script in the location you saved it.

    PS C:\>.\ UpdateOneDriveStorage.ps1
    

    Note

    If you get an error message about being unable to run scripts, you might need to change your execution policies. For more info about PowerShell execution policies, see About Execution Policies.

  4. When prompted, enter the SharePoint admin center URL. For example, https://contoso-admin.sharepoint.com is the Contoso SharePoint admin center URL.

  5. Sign in as a global or SharePoint admin in Microsoft 365.

  6. Enter the OneDrive site URL: For example, https://contoso-my.sharepoint.com/personal/user_contoso_onmicrosoft_com.

  7. Enter the OneDrive Storage Quota in MB.

  8. Enter the OneDrive Storage Quota Warning Level in MB.

    MB TB
    1048576 1
    2097152 2
    3145728 3
    4194304 4
    5242880 5
    6291456 6
    7340032 7
    8388608 8
    9437184 9
    10485760 10

Note

To change the storage space for multiple users, use PowerShell to Display a list of OneDrive accounts by using PowerShell and use Set-SPOSite to make the change.

To disable OneDrive creation for specific users, see Manage user profiles in the SharePoint admin center.