OneDrive for Business storage quotas troubleshooting for offboarding workflows: do not update
🔍 WiseChecker

OneDrive for Business storage quotas troubleshooting for offboarding workflows: do not update

When you offboard an employee from Microsoft 365, their OneDrive for Business account is typically converted to a licensed but inactive state. During this process, the storage quota shown in the OneDrive admin center often does not update to reflect the freed space or the reduced license type. This can cause confusion for IT administrators who expect the quota to drop immediately after license removal or user deletion. The root cause is that OneDrive for Business does not recalculate the quota until the next full sync cycle, which can take up to 24 hours. This article explains why the quota does not update during offboarding, how to verify the actual storage state, and what to do if the quota remains stuck on a previous value.

Key Takeaways: OneDrive Storage Quota Stuck After Offboarding

  • Microsoft 365 admin center > Users > Active users: Verify the user’s license assignment and OneDrive site status before checking storage quotas.
  • SharePoint Online Management Shell cmdlet Get-SPOSite: Displays the actual storage quota, current usage, and last modified date for the OneDrive site.
  • OneDrive admin center > Storage: Shows aggregate storage across all sites and may not reflect individual quota changes for 24 hours.

ADVERTISEMENT

Why the OneDrive Storage Quota Does Not Update During Offboarding

When you offboard a user, the sequence of events is: remove or change the license, then delete the user account or convert it to a shared mailbox. OneDrive for Business relies on the user’s license to determine the storage quota. If the license is removed, the quota should drop to the default 1 TB for unlicensed users. However, the quota value displayed in the OneDrive admin center and in the SharePoint Online Management Shell does not update immediately. This delay occurs because OneDrive for Business uses a background timer job that recalculates quotas every 24 hours. The timer job checks the license state of each user and adjusts the quota accordingly. Until that job runs, the quota remains at the last licensed value.

A second cause is that the OneDrive site itself is not deleted when the user account is removed. The site remains in a soft-deleted state for 30 days by default. During that period, the site still consumes storage space, but the quota is no longer tied to a valid license. The admin center may show the old quota because the site’s metadata has not been updated. The storage usage, however, is accurate and reflects the actual data stored.

A third factor is the difference between the user-level quota and the site-level quota. In OneDrive for Business, the quota is set at the site level, not the user level. When you change the user’s license, the site quota is not automatically adjusted. The site retains the quota that was set when the user had a valid license. Only the SharePoint Online timer job can modify the site quota based on the license change. If you manually change the site quota before the timer job runs, that manual value persists until the next timer job overwrites it.

The 24-Hour Timer Job

The SharePoint Online timer job that recalculates OneDrive quotas is named “OneDrive for Business Quota Update.” It runs once every 24 hours across all tenants. It compares the user’s license type from Azure Active Directory with the current site quota. If the license indicates a higher quota than the site shows, the job increases the site quota. If the license is removed or downgraded, the job reduces the site quota to the default for unlicensed users, which is 1 TB. The job does not run on demand. There is no manual trigger to force it to run.

Soft-Deleted Site Behavior

When you delete a user account, the OneDrive site enters a soft-deleted state. The site URL still exists, and the data remains accessible to the site collection administrator for 30 days. During this period, the site quota is frozen at the value it had when the user was active. The timer job does not update the quota for soft-deleted sites because the site is no longer associated with an active license. The storage usage, however, continues to count against the tenant’s total storage allocation. After 30 days, the site is permanently deleted, and the storage is released.

Steps to Verify the Actual Storage Quota and Usage

Before troubleshooting further, confirm the current storage quota and usage using the SharePoint Online Management Shell. This method provides the most accurate data because it reads the site directly, bypassing the delayed admin center UI.

  1. Install the SharePoint Online Management Shell
    Open Windows PowerShell as an administrator. Run the command Install-Module -Name Microsoft.Online.SharePoint.PowerShell. If prompted, confirm the installation by typing Y and pressing Enter.
  2. Connect to SharePoint Online
    Run Connect-SPOService -Url https://yourtenant-admin.sharepoint.com. Replace yourtenant with your actual tenant name. Enter your global admin credentials when prompted.
  3. Get the OneDrive site URL for the offboarded user
    Run Get-SPOSite -IncludePersonalSite $true | Where-Object {$_.Owner -eq "user@domain.com"}. Replace user@domain.com with the offboarded user’s email address. Note the Url value from the output.
  4. Retrieve the site’s storage quota and usage
    Run Get-SPOSite -Identity "https://yourtenant-my.sharepoint.com/personal/user_domain_com" | Select-Object StorageQuota, StorageUsageCurrent, LastContentModifiedDate. Replace the URL with the one you obtained in step 3. The StorageQuota value is in megabytes. The StorageUsageCurrent value is also in megabytes. The LastContentModifiedDate shows when the site was last changed.
  5. Compare the quota with the expected value
    If the user had an E3 license before offboarding, the expected quota is 1 TB for unlicensed users. 1 TB equals 1,048,576 MB. If the StorageQuota is higher than that, the timer job has not yet run. Note the StorageUsageCurrent to see if the user actually used less than 1 TB.

If you cannot use PowerShell, check the OneDrive admin center at https://admin.onedrive.com/?v=StorageSettings. The storage page shows a list of all OneDrive sites with their quota and usage. The data on this page is delayed by up to 24 hours.

ADVERTISEMENT

If the Quota Still Does Not Update After 24 Hours

OneDrive Shows the Old Quota After License Removal

If more than 24 hours have passed since you removed the license and the quota has not changed, the timer job may have failed to run for that specific site. This can happen if the site is in a corrupted state or if the user object in Azure AD is in a transitional state. To resolve this, force a quota update by running the Set-SPOSite cmdlet with the -StorageQuota parameter. For example: Set-SPOSite -Identity "https://yourtenant-my.sharepoint.com/personal/user_domain_com" -StorageQuota 1048576. This sets the quota to 1 TB. After running this command, the quota updates immediately. The timer job will not override a manually set quota unless the license changes again.

The Storage Usage Is Higher Than the New Quota

If the user stored more than 1 TB of data before offboarding, the storage usage will exceed the new quota. OneDrive does not delete files to enforce the quota. Instead, users with edit permissions see a warning that the site is over quota. Files remain accessible but cannot be uploaded or synced until space is freed. To resolve this, either reduce the data by moving files to another location or increase the quota by assigning a license with a higher storage limit. If the user is offboarded permanently, you can set the quota to a higher value temporarily to allow data migration, then reduce it after deletion.

The Quota Shows Zero After User Deletion

When a user is deleted, the OneDrive site quota may display as 0 MB in the admin center. This is a display issue. The actual storage usage is still accurate. The quota of 0 MB does not prevent users from accessing the site during the 30-day grace period. After the site is permanently deleted, the storage is released. You can ignore this display value. It does not affect data integrity or access.

OneDrive Storage Quota Behavior: Active User vs Offboarded User

Item Active User with E3 License Offboarded User (No License)
Storage quota 1 TB by default, can be increased up to 5 TB with admin override 1 TB (default for unlicensed users)
Quota update timing Updated immediately when license changes Updated by timer job within 24 hours
Manual quota override Possible via Set-SPOSite, persists until next timer job Possible via Set-SPOSite, persists until site deletion
Storage usage display Real-time in admin center and PowerShell Real-time in PowerShell, delayed up to 24 hours in admin center
Site state Active Soft-deleted for 30 days, then permanently deleted

You can now verify the actual storage quota and usage for any offboarded user using the SharePoint Online Management Shell. If the quota does not update within 24 hours, use the Set-SPOSite cmdlet to manually set the quota to 1 TB. For sites that exceed 1 TB, plan data migration before the 30-day deletion window expires. An advanced tip: to see when the timer job last ran for your tenant, check the SharePoint Online admin center health reports under Message center > OneDrive for Business > Quota update.

ADVERTISEMENT