You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: "Change a specific user's OneDrive storage space"
4
-
ms.reviewer: jmcdowe
4
+
ms.reviewer: pramod.balusu
5
5
ms.author: mactra
6
6
author: MachelleTranMSFT
7
7
manager: jtremper
@@ -23,119 +23,107 @@ ms.custom:
23
23
- seo-marvel-apr2020
24
24
- onedrive-toc
25
25
ms.assetid: 7448173d-a38c-48cf-acbb-09ac1b6237d4
26
-
description: In this article, you'll learn how to change a user's OneDrive storage space.
26
+
description: In this article, you learn how to change a user's OneDrive storage space in Microsoft 365 using either PowerShell or the SharePoint admin center.
27
27
---
28
28
29
29
# Change a specific user's OneDrive storage space
30
30
31
-
As a global or SharePoint admin in Microsoft 365, you can set the OneDrive storage space for a specific user.
32
-
33
-
> [!NOTE]
34
-
> For info about setting the default storage space, see [Set the default storage space for OneDrive users](set-default-storage-space.md). For info about the storage available for your Microsoft 365 subscription, see the [OneDrive service description](/office365/servicedescriptions/onedrive-for-business-service-description).
31
+
As an IT administrator, you can adjust a user's OneDrive storage space using the SharePoint admin center or PowerShell.
35
32
36
33
> [!NOTE]
37
-
> If your organization is configured for multi-geo, you need to use PowerShell to change a user's OneDrive storagespace. Editing storage limits isn't available in the Microsoft 365 admin center.
34
+
> For setting the default storage space for all users, see [Set the default storage space for OneDrive users](set-default-storage-space.md). For details on available storage for your Microsoft 365 subscription, see the [OneDrive service description](/office365/servicedescriptions/onedrive-for-business-service-description).
38
35
39
36
> [!IMPORTANT]
40
-
> If a user has run out of storage, consider instructing them to proactively identify and review items that are taking up space by following the instructions at [Manage your OneDrive for work](https://support.microsoft.com/en-us/office/manage-your-onedrive-for-work-or-school-storage-31519161-059c-4764-b6f8-f5cd29f7fe68).
37
+
> If a user has run out of storage, advise them to proactively review and manage their storage. Instructions can be found at [Manage your OneDrive for work](https://support.microsoft.com/office/manage-your-onedrive-for-work-or-school-storage-31519161-059c-4764-b6f8-f5cd29f7fe68).
41
38
42
-
## Change a user's storage space in the Microsoft 365 admin center
39
+
## Change storage space in the Microsoft 365 admin center
43
40
44
-
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.)
41
+
1. Sign in to the [Microsoft 365 admin center](https://admin.microsoft.com) with your admin credentials.
45
42
46
-
> [!NOTE]
47
-
> If you have Office 365 operated by 21Vianet (China), [sign in](https://login.partner.microsoftonline.cn/). Then, select the Admin tile to open the admin center.
43
+
> [!NOTE]
44
+
> For Office 365 operated by 21Vianet (China), [sign in here](https://login.partner.microsoftonline.cn).
48
45
49
-
2. In the left pane, select**Users**\>**Active users**.
46
+
2. In the left pane, expand**Users**and select**Active users**.
50
47
51
-
3. Select the user.
48
+
3. Select the user whose storage you want to change.
52
49
53
-
4.Select the **OneDrive** tab.
50
+
4.Go to the **OneDrive** tab.
54
51
55
-
5. Under **Storage used** select **Edit**.
52
+
5. Under **Storage used**, select **Edit**.
56
53
57
-
6.Select the **Maximum storage for this user** option, and type the storage limit that you want to use.
54
+
6.Choose the **Maximum storage for this user** option and set the storage limit.
58
55
59
56
7. Select **Save**.
60
57
61
-

62
-
63
-
When you need cloud storage for individual users beyond the initial 5 TB, additional cloud storage is 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 might set a lower per-user limit if they want to). The storage limit is reset to 5 TB if OneDrive storage utilization drops below 90% of the 5 TB capacity.
60
+
When users need more storage beyond the initial 5 TB, Microsoft increases their storage as follows:
66
61
67
-
-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](https://go.microsoft.com/fwlink/?linkid=869559).
68
-
69
-
-Admins can check for OneDrive eligibility beyond 5 TB via [Check OneDrive site eligibility for increased storage](/sharepoint/troubleshoot/storage/check-storage-increase-eligibility).
62
+
-When a user reaches 90% of their 5 TB capacity, Microsoft increases their storage to up to 25 TB. Admins can set a lower limit if desired.
63
+
- If usage drops below 90%, storage limit resets to 5 TB.
64
+
-For users reaching 90% of their 25 TB capacity, more storage is provided via SharePoint team sites. Contact [Microsoft Support](https://go.microsoft.com/fwlink/?linkid=869559) for assistance.
70
65
71
66
> [!NOTE]
72
-
> For Office 365 A1 users, the OneDrive storage limit is up to 100 GB. For details, see [Office 365 Education service descriptions](/office365/servicedescriptions/office-365-platform-service-description/office-365-education).
67
+
> For Office 365 A1 users, storage is limited to 100 GB. For more information, see [Office 365 Education service descriptions](/office365/servicedescriptions/office-365-platform-service-description/office-365-education).
73
68
74
-
## Change a user's storage space by using PowerShell
69
+
## Change storage space using PowerShell
75
70
76
71
1.[Download the latest SharePoint Online Management Shell](https://go.microsoft.com/fwlink/p/?LinkId=255251).
77
72
78
73
> [!NOTE]
79
-
> If you installed a previous version of the SharePoint Online Management Shell, go to Add or remove programs and uninstall "SharePoint Online Management Shell."
74
+
> Uninstall any previous versions of the SharePoint Online Management Shell before installing the latest version.
80
75
81
-
2. Save the following script as a PowerShell file. For example, you could save it to a file named UpdateOneDriveStorage.ps1.
76
+
2. Save the following PowerShell script to a file (for example, you can save it as _UpdateOneDriveStorage.ps1_):
82
77
83
78
```PowerShell
84
-
$TenantUrl = Read-Host "Enter the SharePoint admin center URL"
85
-
Connect-SPOService -Url $TenantUrl
86
-
87
-
$OneDriveSite = Read-Host "Enter the OneDrive Site URL"
88
-
$OneDriveStorageQuota = Read-Host "Enter the OneDrive Storage Quota in MB"
89
-
$OneDriveStorageQuotaWarningLevel = Read-Host "Enter the OneDrive Storage Quota Warning Level in MB"
3. Open the SharePoint Online Management Shell. Run the script in the location you saved it.
89
+
3. Open the SharePoint Online Management Shell and run the script:
95
90
96
91
```PowerShell
97
-
PS C:\>.\UpdateOneDriveStorage.ps1
92
+
PS C:\>.\UpdateOneDriveStorage.ps1
98
93
```
99
94
100
95
> [!NOTE]
101
-
> 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](/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.1&preserve-view=true).
102
-
103
-
4. When prompted, enter the SharePoint admin center URL. For example, `https://contoso-admin.sharepoint.com` is the Contoso SharePoint admin center URL.
104
-
105
-
5. Sign in as a global or SharePoint admin in Microsoft 365.
96
+
> If you receive an error regarding script execution, you may need to adjust your PowerShell execution policies. For more information, see [About execution policies](/powershell/module/microsoft.powershell.core/about/about_execution_policies).
106
97
107
-
6. Enter the OneDrive site URL: For example, `https://contoso-my.sharepoint.com/personal/user_contoso_onmicrosoft_com`.
98
+
4. Enter the required values when prompted, including:
99
+
- The SharePoint admin center URL (for example, `https://contoso-admin.sharepoint.com`)
100
+
- The OneDrive site URL (for example, `https://contoso-my.sharepoint.com/personal/user_contoso_onmicrosoft_com`)
101
+
- Storage Quota in MB
102
+
- Storage Quota Warning Level in MB
108
103
109
-
7. Enter the OneDrive Storage Quota in MB.
104
+
Here's a reference table for MB to TB conversions:
110
105
111
-
8. Enter the OneDrive Storage Quota Warning Level in MB.
112
-
113
-
| MB | TB |
114
-
| ------------- | ------------- |
115
-
| 1048576 | 1 |
116
-
| 2097152 | 2 |
117
-
| 3145728 | 3 |
118
-
| 4194304 | 4 |
119
-
| 5242880 | 5 |
120
-
| 6291456 | 6 |
121
-
| 7340032 | 7 |
122
-
| 8388608 | 8 |
123
-
| 9437184 | 9 |
124
-
| 10485760 | 10 |
106
+
| MB | TB |
107
+
| --------- |--|
108
+
| 1,048,576 | 1 |
109
+
| 2,097,152 | 2 |
110
+
| 3,145,728 | 3 |
111
+
| 4,194,304 | 4 |
112
+
| 5,242,880 | 5 |
125
113
126
114
> [!NOTE]
127
-
> To change the storage space for multiple users, use PowerShell to [Display a list of OneDrive accounts by using PowerShell](list-onedrive-urls.md) and use [Set-SPOSite](/powershell/module/sharepoint-online/set-sposite?preserve-view=true&view=sharepoint-ps&preserve-view=true) to make the change.
115
+
> To change storage space for multiple users, you can list OneDrive accounts via PowerShell and use the [Set-SPOSite](/powershell/module/sharepoint-online/set-sposite) command to apply changes.
128
116
129
-
## Diagnose issues with changing the OneDrive storage
117
+
## Troubleshooting OneDrive storage issues
130
118
131
-
If you are attempting to change the OneDrive storage for a user and are not able to do so or the storage amount reverts to the original value, a Microsoft 365 administrator can run tests to determine what might be preventing the storage from changing.
119
+
If you encounter issues when adjusting storage or if the storage amount reverts to its original value, a Microsoft 365 administrator can run diagnostics in the admin center.
132
120
133
-
> [!NOTE]
134
-
> If you're an administrator and you're having trouble changing the OneDrive storage for a user or the storage amount reverts to the original value, select **Run Tests** below, which will populate the OneDrive storage quota diagnostic in the Microsoft 365 admin center. These tests will help determine what may be preventing the storage from changing and recommend steps for a resolution.
1. In the Microsoft 365 admin center, select **Run Tests** to launch the OneDrive storage quota diagnostic.
137
122
138
-
> [!NOTE]
139
-
> This diagnostic isn’t supported for GCC High, DoD, Microsoft 365 operated by 21Vianet, or Microsoft 365 Education.
123
+
> [!NOTE]
124
+
> Diagnostics are unavailable for GCC High, DoD, Microsoft 365 operated by 21Vianet, or Microsoft 365 Education.
125
+
126
+
2. Follow the recommendations provided by the diagnostic.
140
127
141
-
> To disable OneDrive creation for specific users, see [Manage user profiles in the SharePoint admin center](/sharepoint/manage-user-profiles).
128
+
> [!NOTE]
129
+
> For information on disabling OneDrive creation for specific users, see [Manage user profiles in the SharePoint admin center](/sharepoint/manage-user-profiles).
0 commit comments