Last updated: November 27, 2026
Microsoft offers three policies that archive without a user deciding. They come from two different products, need different licenses and select content by different criteria. As of 2 November 2026, only one of them is generally available. This article shows what each policy does, what it needs and how to set it up and where all three stop.
Microsoft 365 Archive is switched on, the tenant is still close to its storage quota, and the archive tier is nearly empty. That is the usual result when archiving is left to users: file-level archive is on by default, but someone has to select the files. One admin put it plainly in a demo with us: "I wonder how many users actually want to archive something. I would not understand the benefit for a user to do it." (ShArc product demo, 29 April 2026).
Which policies archive to Microsoft 365 Archive
Three policies can move SharePoint content into Microsoft 365 Archive automatically: the inactive site policy and the inactive files policy in SharePoint Advanced Management (SAM), and the archive action in Microsoft Purview retention.
| SAM inactive site policy | SAM inactive files policy | Purview retention with archive action | |
|---|---|---|---|
| Archives | Whole sites | Files | Files |
| Selects by | Site inactivity, after owners don't certify the site | Last access by a person, 6–48 months; file type | Created or last modified date |
| Scope | All sites or a list of up to 10,000 URLs | All sites or up to 1,000 selected sites | Sites included in the retention policy or label policy |
| Preview of results | Simulation mode (one-time report) | What-If mode (simulation report) | None documented |
| License | SAM entitlement: SAM Plan 1, a Microsoft 365 Copilot license or Microsoft 365 E7 | SAM Plan 1 | Microsoft 365 E5 |
| Configured in | SharePoint admin center | PowerShell only | Microsoft Purview portal |
| Status on 2 Nov 2026 | Generally available | General availability planned by the end of 2026 | Microsoft plans general availability, currently targeted for mid-November to early December 2026 |
Sources: Microsoft Learn "Manage inactive sites by using inactive site policies" (updated 19 August 2026), "Manage inactive files" (updated 4 November 2026), "SharePoint Advanced Management features in Microsoft Copilot licenses" (18 August 2026), "Retention settings–Archiving retained SharePoint files" (10 September 2026); Microsoft 365 Roadmap 573699 and 561208; message center MC1325441 (updated 19 October 2026). The Purview date has moved several times.
None of the three replaces the others. The site policy handles abandoned sites, the files policy handles stale files inside active sites, and the Purview action ties archiving to a retention schedule you already run.
What you need before you set up an archiving policy
You need Microsoft 365 Archive turned on with pay-as-you-go billing, an admin role and the right license for each policy. Check these before the first step. A missing license only shows up when the option is missing in the admin center or a PowerShell command fails.
- Microsoft 365 Archive and billing. Archive must be turned on for the tenant, linked to an Azure subscription with pay-as-you-go billing. Setting that up is covered in our overview of Microsoft 365 Archive.
- Role. SharePoint Administrator or Global Administrator.
- License for the inactive site policy. A SAM entitlement: the SAM Plan 1 add-on, at least one Microsoft 365 Copilot license assigned in the tenant, or Microsoft 365 E7. E3 or E5 alone doesn't include SAM (Microsoft Learn, "Prerequisites for SharePoint Advanced Management", updated 18 August 2026).
- License for the inactive files policy. The SAM Plan 1 add-on. Microsoft's list of SAM features included with Copilot doesn't contain this policy (Microsoft Learn, "SharePoint Advanced Management features in Microsoft Copilot licenses", 18 August 2026), and E7 includes SAM through Copilot, not as Plan 1 (Microsoft Learn, "Compare Copilot in E3, E5, and E7", 28 October 2026). Our own test on 4 November 2026 matched: with Copilot licenses assigned, creating the policy failed with "tenant does not have an active SharePoint Advanced Management (SAM) license"; with SAM Plan 1, it worked.
- License for the Purview archive action. Microsoft 365 E5 ("File-level archive requires a Microsoft 365 E5 license"). The users who benefit from the policy (site owners and members) need it, not only the admin who configures it (Microsoft Purview service description, updated 29 October 2026).
- Module for the files policy. SharePoint Online Management Shell (Microsoft.Online.SharePoint.PowerShell) version 16.0.27709.12000 or later (Microsoft Learn, "Manage inactive files", updated 4 November 2026).
One warning applies to all three: a file that someone reactivates can't be archived again, manually or by policy, for 120 days (Microsoft Learn, "Manage Microsoft 365 Archive", updated 21 October 2026). A policy that hits files people still need doesn't just fail to save storage – it brings those files back as active storage for four months.
SharePoint inactive site policy
You create it in the SharePoint admin center, run it once in simulation mode, then switch it to active. The policy archives a site only after its owners have ignored three notifications and a read-only period has passed (Microsoft Learn, "Manage inactive sites by using inactive site policies", updated 19 August 2026).
- In the SharePoint admin center, go to Policies > Site lifecycle management > Inactive site policies and select Create policy.
- Set the scope: all sites, or a CSV file with up to 10,000 site URLs. Decide whether sites with retention policies or holds are included.
- Set the inactivity period. Microsoft measures activity across SharePoint, Teams, Viva Engage and Exchange for the site.
- Choose the enforcement action Archive sites after mandatory read-only period and set the read-only period: 3, 6, 9 or 12 months.
- Start in simulation mode. It runs once and produces a report of the sites the policy would act on.
- Review the report, then switch the policy to active mode. Active mode runs monthly.
What happens to a site in scope: site owners or admins get three monthly notifications. If one of them selects Certify site, the policy leaves the site alone for a year. If nobody does, the site goes read-only for the period you set, then it is archived in Microsoft 365 Archive.
Limits of this policy:
- It works on whole sites. Old files inside a site that is still in use are out of reach.
- Some site types are out of scope or can't be archived, among them OneDrive, root and home sites, and teams with private or shared channels.
- An archived site is not accessible to users. Only an admin can reactivate it.
- Microsoft documents no PowerShell cmdlet for creating this policy; the admin center is the documented way.
SharePoint inactive files policy with PowerShell
You create the policy in What-If mode, check the simulation report with site owners, then activate it. The policy is in preview and can only be configured through PowerShell (status 2 November 2026).
The policy archives files that no person has accessed for a set number of months – between 6 and 48, default 24 (Microsoft Learn, "Manage inactive files", updated 4 November 2026). You can limit it to selected sites and include or exclude file types.
Connect-SPOService -Url https://contoso-admin.sharepoint.com -UseSystemBrowser $true # 1. Create the policy in What-If mode: files not accessed for 24 months, selected sites only $policy = New-SPOFileArchivePolicy -Name "Inactive files 24 months" ` -PolicyType SelectedSites ` -LastAccessDateCriteria 24 ` -FileTypeExclusionCriteria ".one" ` -IsWhatIfMode $true # 2. Add the sites in scope (up to 1,000 per policy) Add-SPOSiteToFileArchivePolicy -PolicyId $policy.PolicyId -Site https://contoso.sharepoint.com/sites/projects # 3. Activate the simulation; read its run reports after the first run Set-SPOFileArchivePolicy -PolicyId $policy.PolicyId -State Active Get-SPOFileArchivePolicyReport -PolicyId $policy.PolicyId # 4. After the review: switch from simulation to archiving Set-SPOFileArchivePolicy -PolicyId $policy.PolicyId -IsWhatIfMode $false
New policies are created inactive, and New-SPOFileArchivePolicy returns the policy with its ID. Activating the policy in What-If mode never archives anything; archiving starts only after step 4, and the policy works through files over several runs – during the preview at most 100,000 sites per run of an AllSites policy, with the remaining sites in later monthly runs. OneDrive isn't processed in the preview (Microsoft Learn, "Manage inactive files", updated 4 November 2026).
The criterion is the weak spot. "Last access" means the last access date (LAD) that Microsoft records for a person, and Microsoft documents three limits:
- LAD updates can take up to 30 days, so a file opened last week can still qualify.
- Access by AI agents, applications, scripts and system processes doesn't update the LAD.
- Access before July 2025 might not have been captured, so a file can look inactive longer than it really was.
Microsoft's own advice is to review simulation results with site owners, because the simulation doesn't recover missing access history. Plan that review before you activate the policy–it is the step that keeps a reference folder that people read but never edit from disappearing into the archive.
Purview retention policy with archive action
The archive action is in public preview. Microsoft currently targets general availability for mid-November to early December 2026 (message center MC1325441, updated 19 October 2026); the date has moved several times. The option may not appear in your tenant yet, and details can change until general availability. We'll update this section once it is generally available.
You add it to a retention policy or retention label in the Microsoft Purview portal.
- In the Microsoft Purview portal, go to Data Lifecycle Management > Policies > Retention policies (or create a retention label).
- Create a policy for SharePoint sites, or edit an existing one.
- In the retention settings, select Archive retained items in secure and compliant Microsoft 365 Archive to reduce cost.
- Set when the archive period starts–when items were created or last modified–and how long files stay active before they are archived.
Three things to know before you rely on it:
- Nothing happens by default. Existing retention policies and labels don't archive anything until an admin adds the archive action. Retention and holds keep applying to archived files.
- No preview. Microsoft documents no simulation for the archive action. You find out what it archived after it ran.
- Timing. Retention policies can take up to seven days to apply (Microsoft Learn, "Create and configure retention policies", updated 9 June 2026). Third-party posts mention ten days before the archive action starts; Microsoft doesn't document that figure.
The action applies to SharePoint only, and event-based retention isn't supported for file-level archive.
Inactive files policy versus Purview archive action
The inactive files policy archives files that nobody reads any more; the Purview archive action archives files that are old. A reference document that people open every week but never edit stays active under the files policy. The Purview action archives it once the period has passed – even if people open it daily. In return, the Purview result is predictable: created and modified dates are set when a file is saved, while the last access date can lag up to 30 days and ignores access by apps, scripts and AI agents.
If you already run Purview retention with E5 and want archiving to follow the same schedule, the archive action fits. If files that are still read must stay active and you have SAM Plan 1, the inactive files policy is the more precise choice after you have reviewed its simulation report with site owners.
Limits of Microsoft's archiving policies
Microsoft's archiving policies can't select by folder or file size, and they don't reduce a site's own storage usage. These limits apply across all three policies, as documented on 2 November 2026:
- No folder or file-size criterion. Scope is set by site. Criteria are site inactivity, last access, created or modified date, and file type. A policy can't target "everything under /Projects/Closed" or "video files over 500 MB".
- Versions travel with the file. Microsoft 365 Archive archives all versions together with the file; they can't be trimmed as part of archiving.
- Archived files need reactivation. Any user with read access can reactivate an archived file from the library. In the first seven days it is immediate; after that it takes up to 24 hours, and up to 48 hours for large folders (Microsoft Learn, "Archive states", updated 11 September 2026, and "End user experience", updated 7 August 2026). Archived sites need an admin.
- The 120-day lock applies to policies too. A reactivated file stays active and is billed as active storage for 120 days before a policy can archive it again.
- Site quota stays the same. File-level archive reclassifies storage from active to archive at the tenant level, but the files still count against their site's storage and quota. Archiving files can't get a full site under its limit.
If your storage problem sits in specific folders, in large files or in version history, these policies don't reach it. Microsoft 365 Archive compared with ShArc shows which model fits which case.
Folder or file-size criteria
For folder or file-size criteria, you need a policy engine outside Microsoft 365 Archive. We built ShArc for this case: our policies select by file age, file size and file type, can target or exclude specific sites, libraries and folders, and every policy can be simulated before a file moves. Folder-level archiving, restore, simulation and exclusions are part of ShArc since release 1.12.3 (15 July 2026).
The trade-offs are different, not absent:
- No last-access criterion. File age in ShArc means the last modified date. It is recorded without delay, so a policy result is predictable – but a file that is read often and never edited counts as old. As of release 1.13.3 (15 October 2026), we don't offer last access as a criterion. Microsoft's inactive files policy does.
- No full-text search on archived content. Archived file data sits in your Azure Blob Storage. File names, properties and custom columns stay searchable in SharePoint; the file content isn't, until it is restored. Full-text search for archived files is in development, planned for Q4 2026.
- Purview stays in charge of regulated content. Since release 1.13.2 (15 September 2026), ShArc checks files and libraries for Purview retention policies, retention labels and sensitivity labels and skips them. We don't replace Purview retention; we leave that content where it is.
Archived files stay visible as placeholders, and internal users restore them themselves; external users have to ask someone with the necessary permissions. A restored file is archived again on the next policy run if it still matches the criteria – there is no waiting period and no setting that holds it back.
What automated archiving with Microsoft 365 Archive requires
Automating Microsoft 365 Archive is not included in Microsoft 365 E3 alone. The inactive site policy needs SharePoint Advanced Management, which comes with the SAM Plan 1 add-on, at least one assigned Microsoft 365 Copilot license or Microsoft 365 E7; the inactive files policy needs SAM Plan 1, a Copilot license isn't enough (our own test, 4 November 2026). The Purview archive action needs Microsoft 365 E5 for the users whose sites it covers. As of 2 November 2026, only the inactive site policy is generally available; the file policies are planned for mid-November to early December 2026 (Purview) and by the end of 2026 (SAM). None of them selects by folder or file size, and a reactivated file can't be archived again for 120 days. (Sources: Microsoft Learn, Microsoft 365 Roadmap 561208 and 573699, as of 2 November 2026.)
Where to start
Start with where your storage actually sits. If it is in whole sites nobody uses, the inactive site policy is available today. If it is in old files inside active sites, the inactive files policy is Microsoft's answer once it is generally available – with a careful look at the LAD limits. If it is in specific folders, large media files or version history, none of the three reaches it.
Our storage analysis shows which of these it is in your tenant: which sites and folders grow, how much is inactive, and what a policy would archive. It runs as part of a free two-week proof of concept, after ShArc is installed in your tenant.
Frequently asked questions about Microsoft 365 Archive policies
In the following section, you can find the most important questions and answers regarding Microsoft 365 Archive policies.
Yes, you can archive a SharePoint site automatically with the SAM inactive site policy. Site owners get three monthly notifications. If nobody certifies the site, it goes read-only for 3, 6, 9 or 12 months and is then archived. Only an admin can reactivate an archived site.
AllODBSites, but Microsoft states that OneDrive sites aren't supported in the preview (Microsoft Learn, "Manage inactive files", updated 4 November 2026).

