Skip to content

Commit

Permalink
Merge pull request #6804 from MicrosoftDocs/mactra-working-freshness-…
Browse files Browse the repository at this point in the history
…9-12

Update articles from top 20 list
  • Loading branch information
padmagit77 authored Sep 18, 2024
2 parents 197a8a6 + af3c663 commit 4a5d3e7
Show file tree
Hide file tree
Showing 11 changed files with 166 additions and 151 deletions.
128 changes: 58 additions & 70 deletions SharePoint/SharePointOnline/change-user-storage.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
ms.date: 09/01/2023
ms.date: 09/16/2024
title: "Change a specific user's OneDrive storage space"
ms.reviewer: jmcdowe
ms.reviewer: pramod.balusu
ms.author: mactra
author: MachelleTranMSFT
manager: jtremper
Expand All @@ -23,119 +23,107 @@ ms.custom:
- seo-marvel-apr2020
- onedrive-toc
ms.assetid: 7448173d-a38c-48cf-acbb-09ac1b6237d4
description: In this article, you'll learn how to change a user's OneDrive storage space.
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.
---

# 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](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).
As an IT administrator, you can adjust a user's OneDrive storage space using the SharePoint admin center or PowerShell.

> [!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.
> 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).
> [!IMPORTANT]
> 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).
> 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).
## Change a user's storage space in the Microsoft 365 admin center
## Change 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.)
1. Sign in to the [Microsoft 365 admin center](https://admin.microsoft.com) with your admin credentials.

> [!NOTE]
> 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.
> [!NOTE]
> For Office 365 operated by 21Vianet (China), [sign in here](https://login.partner.microsoftonline.cn).
2. In the left pane, select **Users** \> **Active users**.
2. In the left pane, expand **Users** and select **Active users**.

3. Select the user.
3. Select the user whose storage you want to change.

4. Select the **OneDrive** tab.
4. Go to the **OneDrive** tab.

5. Under **Storage used** select **Edit**.
5. Under **Storage used**, select **Edit**.

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

7. Select **Save**.

![Screenshot of the OneDrive storage settings in the Microsoft 365 admin center](media/edit-user-storage-limit.png)

When you need cloud storage for individual users beyond the initial 5 TB, additional cloud storage is granted as follows:
![OneDrive storage settings screenshot](media/edit-user-storage-limit.png)

- 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.
When users need more storage beyond the initial 5 TB, Microsoft increases their storage as follows:

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

- Admins can check for OneDrive eligibility beyond 5 TB via [Check OneDrive site eligibility for increased storage](/sharepoint/troubleshoot/storage/check-storage-increase-eligibility).
- 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.
- If usage drops below 90%, storage limit resets to 5 TB.
- 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.

> [!NOTE]
> 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).
> 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).
## Change a user's storage space by using PowerShell
## Change storage space using PowerShell

1. [Download the latest SharePoint Online Management Shell](https://go.microsoft.com/fwlink/p/?LinkId=255251).

> [!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."
> Uninstall any previous versions of the SharePoint Online Management Shell before installing the latest version.
2. Save the following script as a PowerShell file. For example, you could save it to a file named UpdateOneDriveStorage.ps1.
2. Save the following PowerShell script to a file (for example, you can save it as _UpdateOneDriveStorage.ps1_):

```PowerShell
$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"
$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.
3. Open the SharePoint Online Management Shell and run the script:
```PowerShell
PS C:\>.\ UpdateOneDriveStorage.ps1
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](/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.1&preserve-view=true).
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.
> 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).
6. Enter the OneDrive site URL: For example, `https://contoso-my.sharepoint.com/personal/user_contoso_onmicrosoft_com`.
4. Enter the required values when prompted, including:
- The SharePoint admin center URL (for example, `https://contoso-admin.sharepoint.com`)
- The OneDrive site URL (for example, `https://contoso-my.sharepoint.com/personal/user_contoso_onmicrosoft_com`)
- Storage Quota in MB
- Storage Quota Warning Level in MB
7. Enter the OneDrive Storage Quota in MB.
Here's a reference table for MB to TB conversions:
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 |
| MB | TB |
| --------- |--|
| 1,048,576 | 1 |
| 2,097,152 | 2 |
| 3,145,728 | 3 |
| 4,194,304 | 4 |
| 5,242,880 | 5 |
> [!NOTE]
> 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.
> 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.
## Diagnose issues with changing the OneDrive storage
## Troubleshooting OneDrive storage issues
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.
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.
> [!NOTE]
> 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.
>> [!div class="nextstepaction"]
>> [Run Tests: Check OneDrive Storage Quota](https://aka.ms/PillarOneDriveQuota)
1. In the Microsoft 365 admin center, select **Run Tests** to launch the OneDrive storage quota diagnostic.
> [!NOTE]
> This diagnostic isn’t supported for GCC High, DoD, Microsoft 365 operated by 21Vianet, or Microsoft 365 Education.
> [!NOTE]
> Diagnostics are unavailable for GCC High, DoD, Microsoft 365 operated by 21Vianet, or Microsoft 365 Education.
2. Follow the recommendations provided by the diagnostic.
> To disable OneDrive creation for specific users, see [Manage user profiles in the SharePoint admin center](/sharepoint/manage-user-profiles).
> [!NOTE]
> For information on disabling OneDrive creation for specific users, see [Manage user profiles in the SharePoint admin center](/sharepoint/manage-user-profiles).
6 changes: 3 additions & 3 deletions SharePoint/SharePointOnline/enable-conditional-access.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
ms.date: 10/01/2023
ms.date: 09/18/2024
title: "Enable conditional access support in the OneDrive sync app"
ms.reviewer:
ms.reviewer: wsproule
ms.author: mactra
author: MachelleTranMSFT
manager: jtremper
Expand Down Expand Up @@ -70,7 +70,7 @@ The following are known issues with this release:

Let us know if you run into any problems while using this release.

**To report a problem**
To report a problem

1. Right-click the blue OneDrive cloud icon in the Windows taskbar notification area or macOS menu bar.

Expand Down
Loading

0 comments on commit 4a5d3e7

Please sign in to comment.