When you offboard a user from Microsoft 365, their OneDrive for Business storage quota should reflect the new status. However, the quota often remains unchanged, showing the original allocation instead of releasing the space. This happens because the quota update process is not automatically triggered by standard offboarding workflows in many organizations. This article explains why the quota fails to update and provides a step-by-step fix to correct it.
Key Takeaways: Fix OneDrive Storage Quota Not Updating After Offboarding
- Microsoft 365 admin center > Users > Active users > Select user > OneDrive tab: Directly manage and verify the quota for a specific user.
- SharePoint Online Management Shell > Set-SPOSite -Identity -StorageQuota: PowerShell cmdlet to force-update the storage quota for a OneDrive site.
- Azure AD > Users > Deleted users > Restore user: Restore a recently deleted user to retrigger the quota update process.
Why OneDrive Storage Quotas Do Not Update After Offboarding
When a user is offboarded, their OneDrive site is typically deleted after a grace period. The storage quota for that site is tied to the user’s license. If the license is removed before the site deletion completes, the quota may not be released. The SharePoint Online service does not automatically reclaim the quota from a deleted site until a full storage reclamation cycle runs, which can take up to 24 hours. In many cases, the quota remains locked because the offboarding workflow does not include a step to explicitly update or release the storage allocation.
Technical Root Cause
The OneDrive storage quota is stored as a property on the site collection in SharePoint Online. When a user is deleted, the site collection enters a soft-delete state. During this state, the quota property is not cleared. Only after the site is permanently deleted does the quota become available again. However, if the offboarding workflow removes the user’s license first, the site may be deleted but the quota property remains cached. This leads to a discrepancy where the tenant’s total used storage does not decrease even though the user no longer exists.
Step-by-Step Fix to Force OneDrive Storage Quota Update
Use the following methods to force the quota to update. Choose the method that matches your admin access level and environment.
Method 1: Use Microsoft 365 Admin Center
- Sign in to the Microsoft 365 admin center
Go to admin.microsoft.com and sign in with a Global Admin or SharePoint Admin account. - Navigate to Active users
In the left menu, select Users then Active users. - Select the offboarded user
Find the user who was offboarded and click their display name to open the properties panel. - Open the OneDrive tab
In the properties panel, click the OneDrive tab. If the user is deleted, you will see a message that the site is not available. If the user still exists, you will see the current storage quota. - Manually set a new quota
If the quota is still showing the old value, enter a new quota value in GB and click Save. This forces a recalculation. - Wait 15 minutes and verify
Refresh the page after 15 minutes and check if the storage usage in the tenant dashboard has decreased.
Method 2: Use SharePoint Online Management Shell (PowerShell)
- Install and connect to SharePoint Online Management Shell
Open Windows PowerShell as an administrator and runInstall-Module -Name Microsoft.Online.SharePoint.PowerShell. Then runConnect-SPOService -Url https://[tenant]-admin.sharepoint.comand sign in with your admin credentials. - Get the OneDrive site URL
RunGet-SPOSite -IncludePersonalSite $true | Where-Object {$_.Owner -eq "user@domain.com"}to find the OneDrive site URL for the offboarded user. - Check the current quota
RunGet-SPOSite -Identity https://[tenant]-my.sharepoint.com/personal/user_domain_com | Select StorageQuotato see the current quota value. - Set a new quota to force update
RunSet-SPOSite -Identity https://[tenant]-my.sharepoint.com/personal/user_domain_com -StorageQuota 1to set the quota to 1 GB. This forces the system to recalculate. - Set the quota back to the default
RunSet-SPOSite -Identity https://[tenant]-my.sharepoint.com/personal/user_domain_com -StorageQuota 1024to set it back to 1 TB or your organization’s default. - Verify the change
RunGet-SPOSite -Identity https://[tenant]-my.sharepoint.com/personal/user_domain_com | Select StorageQuota, StorageUsageCurrentto confirm the quota and usage are now aligned.
Method 3: Restore the User and Re-offboard
- Sign in to Azure AD admin center
Go to aad.portal.azure.com and sign in with a Global Admin account. - Go to Deleted users
In the left menu, select Users then Deleted users. - Restore the offboarded user
Find the deleted user, select them, and click Restore user. This brings back the user account and their OneDrive site. - Reassign the license
Go to the user’s profile, click Licenses, and assign the same license they had before. Wait 10 minutes for the quota to recalculate. - Delete the user again with the correct workflow
Now delete the user again, but this time ensure the license is removed only after the OneDrive site is deleted. Wait 30 days for the site to be permanently deleted, then the quota will be released.
If OneDrive Storage Quota Still Does Not Update
OneDrive site is still in soft-delete state
When a user is deleted, the OneDrive site enters a soft-delete state for 93 days. During this time, the quota is not released. To force an immediate release, permanently delete the site using PowerShell: Remove-SPOSite -Identity [siteURL] -NoWait. This bypasses the soft-delete period and frees the quota within a few hours.
License removal before site deletion
If the offboarding workflow removes the user’s license before deleting the OneDrive site, the quota may become stuck. The fix is to restore the user, reassign the license, and then delete the site first before removing the license. Use a PowerShell script to automate this order: delete site, remove license, delete user.
Storage Quota Update Methods: Comparison
| Item | Admin Center | PowerShell |
|---|---|---|
| Time to complete | 10 minutes | 5 minutes |
| Admin level required | Global Admin or SharePoint Admin | Global Admin |
| Forces quota recalculation | Yes, by changing the value | Yes, by setting a new value |
| Can handle soft-deleted sites | No | Yes, with Remove-SPOSite |
| Requires manual steps | Yes, multiple clicks | Yes, multiple commands |
You can now force OneDrive storage quotas to update after offboarding using the admin center or PowerShell. Next, review your offboarding workflow to ensure the OneDrive site is deleted before the user license is removed. For advanced automation, create a PowerShell script that deletes the site, removes the license, and then deletes the user in sequence to prevent quota issues in the future.