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
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.
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.
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.
A user’s OneDrive URL is based on their username. For example,
https://microsoft-my.sharepoint.com/personal/user1_contoso_com. You can find their username on the Active users (or Deleted users) page in the Microsoft 365 admin center.
For storage space, you would enter 1048576 for 1 TB or 5242880 for 5 TB. You can specify any value 1024 MB (1 GB) or greater, however, if you specify a value bigger 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.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.