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.

  1. User still exists in Entra ID (even blocked): assign any license with OneDrive. Free; the archive lifts itself in 24–48 hours.
  2. User deleted: enable pay-as-you-go billing and click Reactivate — $0.60/GB once, 30 days of access.
  3. 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.

Shared work doesn’t belong in a personal OneDrive. Keep team folders in a SharePoint team site — it outlives any employee — and open it as a drive with OneMount.
The OneDrive has been archived error page in SharePoint: this OneDrive account has been archived because it is not licensed
What colleagues saw: “The OneDrive has been archived”. Note scenario=UnlicensedPersonalSiteArchived in the address.Click to enlarge

What “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 licenseWhat happens
0License removed or user deleted. Everything still works.
60OneDrive becomes read-only.
93Archived: no access for anyone, shared links stop working.
275Content no longer found by eDiscovery.
365Unpaid 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.

Unlicensed OneDrive accounts report in SharePoint admin center showing License removed by admin and status Archived
Reports → OneDrive accounts → Unlicensed: archived, 3.09 GB, and only an Enable billing button.Click to enlarge
License removed July 31 → archived November 11, 06:25, by the system account. That is 103 days, not 93 — archiving runs in batches, so expect some lag.

Four ways to restore access

SituationWhat to doCost · time
User exists in Entra ID (active or blocked)Assign a license that includes OneDriveLicense only · 24–48 h
User deleted less than 30 days agoRestore the user in Deleted users, then licenseLicense only · 24–48 h
User deleted for goodAzure 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 filesPurview eDiscovery / Content search exportFree · 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

Step 1 · check

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.

If sign-in opens an old Internet Explorer window (“Update your browser”), an old module version is loaded. Install the new one with -Force and load it with Import-Module … -RequiredVersion.
Step 2 · license

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

The account can stay blocked. Microsoft only checks the license — the former employee doesn’t need to be able to sign in. If you do unblock the account for any reason, reset the password to a random one and sign out all sessions first.
Step 3 · don’t pay by accident

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.

Set-SPOSiteArchiveState warning: reactivating a site from Archived state is a paid operation
FullyArchived, and the warning that reactivation is paid. We answered N.Click to enlarge
Step 4 · wait

Watch the status change

# run every few hours: one line per check
(Get-SPOSite -Identity $u -Detailed).ArchiveStatus
TimeArchiveStatus
Nov 18, 16:31License assigned
Nov 18, 16:45FullyArchived
Nov 19, 09:01Reactivating (~16.5 h)
Nov 20, 11:17NotArchived (at most ~43 h)
PowerShell output ArchiveStatus NotArchived after assigning a license
November 20, 11:17 — NotArchived. No billing, no reactivation fee.Click to enlarge

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.

Restored OneDrive with shared folders still showing who they were shared with
Back online, and every folder still shows who it is shared with. Names and folder names blurred; the tenant UI is in Russian.Click to enlarge

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.

  1. 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).
  2. 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.
  3. Copy in Explorer. With the team site connected as another drive, the shared folders went over by plain drag-and-drop.
  4. Close the loop. We removed the license again. The OneDrive can now age out — nothing anyone needs lives there.
OneMount connection showing the former employee OneDrive mapped as drive F in File Explorer
The restored OneDrive as drive F: in OneMount — ready to copy to the team site.Click to enlarge

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.

The OneDrive has been archivedunlicensed OneDrivereactivate OneDriveformer employee OneDriveMicrosoft 365 ArchiveSet-SPOSiteArchiveStateSharePoint team siteOneDrive as a drive

Sources

Timeline, status values and screenshots are from our own tenant; names and folder names are blurred.