OneDrive Admin Checklist: storage quotas do not update for offboarding workflows
🔍 WiseChecker

OneDrive Admin Checklist: storage quotas do not update for offboarding workflows

When offboarding a user from Microsoft 365, you expect their OneDrive storage quota to reflect the new license state or a reduced limit. Instead, the quota stays frozen at the old value even after the user is disabled or their license is removed. This happens because OneDrive caches quota data from Azure AD and does not re-evaluate it until a specific trigger occurs. This article explains the root cause and provides a step-by-step checklist to force the quota update for offboarding workflows.

Key Takeaways: Forcing OneDrive Storage Quota Updates During Offboarding

  • OneDrive admin center > User > Storage quota: Manually set a new quota value to override the cached default.
  • Set-SPOSite -Identity -StorageQuota: SharePoint Online PowerShell command that forces an immediate quota update without waiting for the daily sync.
  • Azure AD user license removal: Removing the user’s license does not automatically reduce the OneDrive quota; you must run a PowerShell script or use the admin center.

ADVERTISEMENT

Why OneDrive Storage Quotas Do Not Update After Offboarding

OneDrive storage quotas are tied to the user’s Microsoft 365 license at the time the site collection is created. When you remove a user’s license or disable their account, Azure AD sends a signal to SharePoint Online. However, SharePoint Online does not immediately re-evaluate the quota. Instead, it relies on a background process that runs approximately every 24 hours. During offboarding, this delay means the quota remains at the original licensed value, which can be 1 TB or more, even though the user no longer has a valid license.

Additionally, the default quota for unlicensed users is not automatically set to a lower value. The system expects an admin to manually adjust the quota or delete the site. If you simply remove the license, the user’s OneDrive continues to consume storage against your tenant’s total pool. This can lead to unexpected storage overages if you offboard many users without updating their quotas.

Checklist to Force OneDrive Storage Quota Updates for Offboarding

Use the following steps to update the storage quota immediately after offboarding a user. Perform these steps in the order listed.

  1. Remove the user’s Microsoft 365 license
    Go to the Microsoft 365 admin center, select the user, and remove all assigned licenses. Wait 15 minutes for Azure AD to propagate the change to SharePoint Online.
  2. Verify the current quota in the OneDrive admin center
    In the SharePoint admin center, go to Sites > Active sites. Select the user’s OneDrive site. Under Storage limit, note the current value. It will still show the old licensed quota.
  3. Manually set a reduced quota via the admin center
    Click Edit next to Storage limit. Enter a new quota value, such as 100 MB or the minimum allowed value of 1 GB. Click Save. This triggers an immediate quota update for that site.
  4. Use SharePoint Online PowerShell to set the quota remotely
    Open SharePoint Online Management Shell. Run Connect-SPOService -Url https://yourtenant-admin.sharepoint.com. Then run Set-SPOSite -Identity https://yourtenant-my.sharepoint.com/personal/user_domain_com -StorageQuota 1024 (value in MB). This sets the quota to 1 GB instantly.
  5. Confirm the update
    Run Get-SPOSite -Identity https://yourtenant-my.sharepoint.com/personal/user_domain_com | Select StorageQuota to verify the new value. The output should show the reduced quota.
  6. Optionally disable the OneDrive site
    If you do not need to retain the user’s files, run Set-SPOSite -Identity -LockState NoAccess to block access. This does not change the quota but prevents further storage consumption.

ADVERTISEMENT

If the Quota Still Does Not Update After Manual Steps

OneDrive quota reverts to the old value after a few hours

If you manually set a reduced quota but it reverts to the original value, the background sync process is overwriting your change. This occurs when the user still has a license assigned in Azure AD. Verify that the license removal has fully completed. Check the user’s Licenses and apps tab in the Microsoft 365 admin center. If any license remains, remove it and repeat the manual quota update.

PowerShell command returns an error about site not found

The user’s OneDrive site URL must be correct. In the SharePoint admin center, select the site and copy the URL from the address bar. The format is typically https://yourtenant-my.sharepoint.com/personal/user_domain_com. Replace the domain underscore and dot with the actual values. If the site was deleted, you cannot set a quota. You must first restore the site from the SharePoint admin recycle bin.

Storage quota for a deleted user’s OneDrive still counts against tenant storage

When you delete a user, their OneDrive site is moved to the SharePoint admin recycle bin. The site’s storage quota remains unchanged and still consumes tenant storage. To release that storage, you must either permanently delete the site or reduce its quota to 0. Use Remove-SPOSite -Identity -SkipRecycleBin to permanently delete the site and free the storage immediately.

OneDrive Quota Update Methods: Admin Center vs PowerShell

Item OneDrive Admin Center SharePoint Online PowerShell
Speed of update Instant after clicking Save Instant after command completes
Bulk operations One site at a time Supports loops and CSV imports
Requires admin role SharePoint admin or Global admin SharePoint admin or Global admin
Reverts on background sync Yes, if user still has a license Yes, if user still has a license
Can set quota below 1 GB Minimum 1 GB Minimum 1 MB

The admin center is sufficient for one-off offboarding. PowerShell is required when you need to update quotas for multiple users or set values below 1 GB. Both methods require the user’s license to be removed first, otherwise the quota will revert during the next daily sync.

You can now force OneDrive storage quota updates immediately after offboarding a user by using the admin center or PowerShell. Always remove the user’s license first before changing the quota. For bulk offboarding, write a PowerShell script that loops through a CSV of user OneDrive URLs and applies a reduced quota. After setting the quota, run a verification command to confirm the change stuck. If you need to free storage entirely, permanently delete the site instead of leaving it with a reduced quota.

ADVERTISEMENT