Quick answer
Microsoft archives a OneDrive 93 days after its owner loses the license. Nobody can open it — not colleagues, not admins — until it is relicensed or reactivated.
- User still exists in Entra ID (even blocked): assign any license with OneDrive. Free; the archive lifts itself in 24–48 hours.
- User deleted: enable pay-as-you-go billing and click Reactivate — $0.60/GB once, 30 days of access.
- Just need the files: Purview eDiscovery can still search and export them, up to day 275.
Our result: license at 16:31 → back on day 2, shares kept, no billing.
scenario=UnlicensedPersonalSiteArchived in the address.Click to enlargeWhat “The OneDrive has been archived” means
Since January 2025 Microsoft no longer keeps unlicensed OneDrive accounts for free. The page says the account
“has been archived because it is not licensed” — and the address bar gives it away too:
sharepointerror.aspx?scenario=UnlicensedPersonalSiteArchived.
| Days without a license | What happens |
|---|---|
| 0 | License removed or user deleted. Everything still works. |
| 60 | OneDrive becomes read-only. |
| 93 | Archived: no access for anyone, shared links stop working. |
| 275 | Content no longer found by eDiscovery. |
| 365 | Unpaid accounts may be deleted for good. |
The files are not gone at day 93 — they are frozen. The question is only how to unfreeze them, and at what cost.
Our case: 103 days after the user left
An employee left in July, and on July 31 their account was disabled and the license removed — the usual offboarding routine. Nothing happened for three months — until colleagues started asking why folders they worked in every week now showed this page.
The Unlicensed OneDrive accounts report (SharePoint admin center → Reports → OneDrive accounts) confirmed it: License removed by admin, status Archived, 3.09 GB. Note the banner: Microsoft offers only one button here — Enable billing.
Four ways to restore access
| Situation | What to do | Cost · time |
|---|---|---|
| User exists in Entra ID (active or blocked) | Assign a license that includes OneDrive | License only · 24–48 h |
| User deleted less than 30 days ago | Restore the user in Deleted users, then license | License only · 24–48 h |
| User deleted for good | Azure pay-as-you-go + unlicensed OneDrive billing → Reactivate | $0.60/GB once + $0.05/GB/month for all archived accounts · up to 24 h, then 30 days of access |
| You only need copies of the files | Purview eDiscovery / Content search export | Free · until day 275, no sharing restored |
Our user still existed — so the first row applied. The interesting question was whether it actually works on an archive this old, how long it takes, and what happens to the shares.
What we did, step by step
Confirm the archive state in PowerShell
The SharePoint Online module shows the exact state. Replace contoso and the user name with yours:
# once: install the module (Windows PowerShell 5.1) Install-Module Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser Connect-SPOService -Url https://contoso-admin.sharepoint.com # find the former employee’s OneDrive Get-SPOSite -IncludePersonalSite $true -Limit All -Filter "Url -like '-my.sharepoint.com/personal/'" | Where-Object Url -like '*john*' | Select-Object Url, Owner # archive status: ArchiveStatus is shown only with -Detailed $u = "https://contoso-my.sharepoint.com/personal/john_contoso_com" Get-SPOSite -Identity $u -Detailed | Format-List Url, ArchiveStatus, ArchivedBy, ArchivedTime, LockState, StorageUsageCurrent
We got ArchiveStatus : FullyArchived, ArchivedBy — the system account.
-Force and load it with
Import-Module … -RequiredVersion.
Assign a license — even a basic one
Microsoft 365 admin center → Users → the former employee → Licenses and apps. We picked the cheapest one we had spare with OneDrive: Microsoft 365 Business Basic (1 TB is plenty for 3 GB).
Skip the “reactivate” command
Waiting is nerve-racking, and Set-SPOSiteArchiveState -ArchiveState Active looks like a shortcut.
It warns honestly: “Reactivating a site from Archived state is a paid operation.” We answered
N — partly to keep the test clean, partly because billing for archived accounts is charged for
every archived OneDrive in the tenant, every month.
Watch the status change
# run every few hours: one line per check
(Get-SPOSite -Identity $u -Detailed).ArchiveStatus
| Time | ArchiveStatus |
|---|---|
| Nov 18, 16:31 | License assigned |
| Nov 18, 16:45 | FullyArchived |
| Nov 19, 09:01 | Reactivating (~16.5 h) |
| Nov 20, 11:17 | NotArchived (at most ~43 h) |
Result: the shares survived
The OneDrive opened with all 35 items, and the sharing column still said who each folder was shared with. Nothing had to be shared again: colleagues’ old links simply worked.
Archiving freezes a OneDrive — it doesn’t wipe its permissions. Relicense in time and everything comes back as it was.
Moving the files out with OneMount
Relicensing is a bridge, not a solution: remove the license again and the 93-day clock restarts. The files had to move to the team’s SharePoint site.
- Get access as an admin. Microsoft 365 admin center → the user → OneDrive → Create link to files (it makes you a site admin of that OneDrive).
- Connect it as a drive. In OneMount: Add new connection → paste the OneDrive address → Detect → Save. It appeared as drive F: in seconds — nothing to sync, nothing to download.
- Copy in Explorer. With the team site connected as another drive, the shared folders went over by plain drag-and-drop.
- Close the loop. We removed the license again. The OneDrive can now age out — nothing anyone needs lives there.
How to prevent “The OneDrive has been archived”
- Before removing a license, move shared folders to a SharePoint site — or at least hand them to a colleague. Microsoft’s “access delegate” (the manager gets a link when a user is deleted) helps only if someone acts on it.
- Remember the clock. Removing the license on the last working day silently starts the 93-day countdown.
- Check the report monthly: Reports → OneDrive accounts → Unlicensed shows who is heading for the archive and when.
- Act before day 93. Until then a license simply ends read-only mode; after it, you wait a day or two with no access at all.
Why shared folders belong in a SharePoint site
Our 35 folders were never personal: contracts, staff lists, onboarding documents. They sat in one person’s OneDrive only because that was the quickest place to click “Share”. A SharePoint team site belongs to the team, has its own permissions and keeps working when anyone leaves.
And it doesn’t have to be less convenient: OneMount connects a site library as a regular drive letter — no sync client, Office co-authoring kept. More: how to map SharePoint as a network drive.
FAQ
What does “The OneDrive has been archived” mean?
The owner’s OneDrive has had no license for 93+ days, so Microsoft moved it to Microsoft 365 Archive. The files still exist, but nobody can open them until it is relicensed or reactivated.
Can I restore an archived OneDrive for free?
Yes, if the user still exists in Entra ID: assign a license with OneDrive and the archive lifts in 24–48 hours. In our test it took at most 43 hours, with no billing set up.
How much does reactivating an archived OneDrive cost?
$0.60 per GB once, plus $0.05 per GB per month for all archived accounts in the tenant once billing is on. Reactivation gives 30 days of access.
Do sharing links work after the OneDrive is restored?
In our case, yes: every folder kept its shares and colleagues’ old links opened without re-sharing.
Does the user need to be able to sign in?
No. The license alone triggers reactivation; the account can stay blocked the whole time.
What if the user was deleted?
Restore them within 30 days and assign a license. After that, only paid reactivation brings the OneDrive back; eDiscovery can still export files until day 275.
How do I stop this from happening?
Move shared folders to a SharePoint team site before removing a license, and check the Unlicensed OneDrive accounts report regularly.
Sources
- Microsoft Learn — Manage unlicensed OneDrive user accounts
- Microsoft Tech Community — Unlicensed OneDrive user accounts: what you need to know
- Microsoft Learn — OneDrive retention and deletion
Timeline, status values and screenshots are from our own tenant; names and folder names are blurred.