While it’s great to treat everyone as equal, there could be times when a particular user may require a larger OneDrive quota. An example could be to help a user free up their OneDrive who has filled it brim and cannot empty their recycle bins. To change the quota for a specific user:
- Download the latest SharePoint Online Management Shell
Alternatively, you can install the SharePoint Online PowerShell module with an administrative PowerShell prompt:
To check for existing installed versions:
Get-Module -Name Microsoft.Online.SharePoint.PowerShell -ListAvailable | Select Name,Version
To remove all versions:
Uninstall-Module -Name Microsoft.Online.SharePoint.PowerShell -Force
Note: Repeat the command again to uninstall other installed versions of this module.
- Connect to SharePoint Online as a global admin or SharePoint admin in Microsoft 365. To learn how, see Getting started with SharePoint Online Management Shell.
Connect-SPOService -Url https://mytenant-admin.sharepoint.com
- Run the following command:
Set-SPOSite -Identity <user's OneDrive URL> -StorageQuota <quota>
For example, we will increase Alice Jones' OneDrive quote to 25 GB:Set-SPOSite -Identity https://mytenant-my.sharepoint.com/personal/alice_jones_magrin_one -StorageQuota 25600
To increase from 20 GB to 25 GB, you need to enter the Base 2 value, which equals to 25600; entering the Base 10 value of 25000 will equate to 24.6 GB.
The minimum quota is 1024 MB (1 GB). If you specify a value greater than that allowed by a user's license, the value 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 Manage user profiles in the SharePoint admin center.