Skip to the stories
Microsoft 365 & SharePoint

Understanding the cost of OneDrive and SharePoint archiving

  • Andrew Warland
  • 922 views

Microsoft charge for the storage of inactive OneDrives and SharePoint content that is placed into archive (sites or items). While your organisation may not (yet) have received a bill for the storag...

Understanding the cost of OneDrive and SharePoint archiving

Microsoft charge for the storage of inactive OneDrives and SharePoint content that is placed into archive (sites or items). While your organisation may not (yet) have received a bill for the storage of inactive OneDrives, you cannot recover them unless you start paying, and if you don’t start paying, Microsoft may deleted them (as described in this post).

This post explains what archiving is for OneDrive and SharePoint, how charging works for each option, and why it may be a good idea NOT to retain all the OneDrives of inactive departed users beyond 90 days, especially if (a) they contain a LOT of content and/or (b) they may not contain anything of value. A better strategy would be to proactive about the content when end users leave and only retain OneDrives that are likely to contain content of value.

Archiving for inactive OneDrives

The image below shows where details about unlicenced OneDrive accounts is located in the SharePoint admin centre. Any unlicenced OneDrives that are subject to any of the options listed below will be subject to archive storage costs at US$0.05/GB per month.

  • Retention period – This is based on the setting in ‘Settings – Retention’. By default this is set to 30 days (after the user leaves, after which the OneDrive will be permanently deleted). If you set this to longer than 90 days, the OneDrive will be automatically archived.
  • Retention policy – This is based on a retention policy (or retention label policy) set in Purview.
  • Active user with no licence
  • Duplicate accounts
  • Restored from recycle bin
  • Active lock on account
  • Previous lock or other state change

When you click on ‘View more details’, a list of accounts will appear along with a banner that states ‘Set up and enable billing for unlicensed OneDrive accounts to reactivate archived accounts’. The word ‘reactivate’ is key here: if you don’t enable billing, you cannot reactivate the accounts.

Additionally, Microsoft state the following in the Microsoft Learn page ‘Manage unlicenced OneDrive user accounts‘ (which is worth reading):

‘As of July 1, 2026, unlicensed OneDrive accounts that remain unpaid are subject to a cumulative 365-day nonpayment clock. Accounts that were already unlicensed before July 1, 2026 are in scope, and accounts that become unlicensed on or after July 1, 2026 are also in scope. For accounts already unlicensed and unpaid on July 1, 2026, deletion risk begins no earlier than July 1, 2027. For accounts that become unlicensed after July 1, 2026, deletion risk begins when the account reaches 365 cumulative unpaid days.’

That is, if you don’t enable billing, unlicenced OneDrives may be deleted after 365 cumulative unpaid days.

The link above also notes the difference between:

  • Unlicenced OneDrive accounts linked to a user account that has been deleted in Entra ID.
    • If billing is enabled (a key point), these OneDrives will still remain subject to the following if they apply: (a) the OneDrive retention period, (b) any retention policies, then (c) any legal holds, in that order. Once these expire, the OneDrive will be permanently deleted. So, if the account is deleted and the OneDrive is subject to a 7 year retention policy (set in Purview), it will remain in storage and charges will apply to unarchive the OneDrive.
  • Unlicenced OneDrive accounts linked to a user account that has not been deleted in Entra ID.
    • If billing is NOT enabled, the OneDrive will be subject to ‘the cumulative 365-day nonpayment clock for deletion’.

Accessing an archived OneDrive accounts requires billing to have been enabled via an Azure subscription pay-as-you-go service. The link above states that it may take up to 24 hours for the account to become accessible again. Once reactivated, ‘the account remains active for 30 days before being automatically archived again’.

Reactivation cost

The reactivation fee for archived OneDrives is US$0.60/GB.

An important last point, again from the link above, is shown below:

Accessing content in archived OneDrives

The link above notes that the content stored in archived OneDrives can continue to be discovered via Purview eDiscovery. It adds ‘However, if billing is not enabled and the account remains unpaid, customers should not rely on retention or legal hold settings alone to preserve content indefinitely in an unpaid, unlicensed OneDrive account.’

Read the link (or click on this link to get to the specific section) to learn more about this particular point.

SharePoint archive

There are two options for archiving content in SharePoint, archive a site and archive individual items in a site.

  • Both of these options require an Azure pay-as-you-go subscription to be enabled. Read more about pay-as-you-go pricing for storage services in this Microsoft Learn page (also referred to below).

There is no direct option to archive a library on a site, however see below for an option that uses retention labels to archive content. This could be used with all the content in a library.

According to the Microsoft Learn page ‘Overview of Microsoft 365 Archive‘, archiving a site or item ‘places the content into a cold storage tier within SharePoint. Data archived with Microsoft 365 Archive automatically retains the same searchability, security, and compliance standards at a reduced cost.’

Archiving sites

Archiving a site requires the activation of pay-as-you-go storage services as noted in the link above. The main reason to archive a SharePoint site would be to reduce costs associated with the storage of rarely-accessed content (e.g., similar to storing paper records in offsite storage). It does not reduce the amount of storage used.

Go to the SharePoint admin centre, click on ‘Active sites’, select the site or sites to be archived, and select ‘Archive’.

  • The site content can still be discovered and any retention labels remain active
  • A hub site must be unregistered before it can be archived.
  • See the Microsoft Learn page ‘Manage Microsoft 365 Archive‘ to learn more and for screenshots showing how a site is archived.

The costs of archiving SharePoint sites links with the total amount of storage available to the organisation. Archiving may only incur costs if the total storage for both active and inactive sites exceeds the total storage available. See this Microsoft Learn page ‘Pricing model for Microsoft 365 Archive‘, and in particular ‘Billing scenarios’ to learn more.

There does not appear to be any cost associated with restoring a site from archive but note that it will be subject to the higher storage cost once it is restored.

Archiving individual items in a library

Once the Azure subscription service is enabled, and unless the option has been explicitly disabled by administrators, end users with edit access can select individual items in a library, or all items in a folder (by selecting the folder) and select ‘Archive’ from the item menu (example below does not show the ‘Archive’ option but indicates where it would appear). See the Microsoft Learn page ‘End user experience in Microsoft 365 Archive‘ to learn more about how it works. In particular note that, once a file has been archived, it cannot be accessed again until it is reactivated.

In my view there is no obvious benefit in allowing end users to archive single items or all items in a folder.

Archiving inactive files in a library via a retention label set in Purview

One way to archive all files in a library would be to create a retention label in Purview with the option ‘Archive retained items in secure and compliant Microsoft 365 Archive to reduce cost’ checked, as can be seen in the screenshot below. Note that this requires an Azure subscription as noted above.

If the label is applied to an entire library via the Library Settings option ‘Apply label to this list or library’, everything in the library would be subject to the same retention control *and* would be archived when the label is applied. This may be a useful option is some scenarios but again note that archived files must be reactivated ‘manually’ to be opened.

Managing inactive files via a policy setting

A new option ‘Manage inactive files policy with SharePoint Advanced Management‘ is coming soon (November 2026) to auto-archive inactive files based on the last accessed date.

Automatic policy archiving *might* be a possible option to archive an entire library of content but it’s brand new and presently requires PowerShell, so it may not be realistically possible for a while yet.

Feature image: Pexels

Source: Andrew Warland · andrewwarland.wordpress.com

Neighbouring cells