Archive inactive SharePoint sites
AI summary
Identify SharePoint sites that are no longer in use by creating a policy, then ask owners through a review whether to retire them. You can either set sites to read-only to prevent new content while keeping them viewable, or move them into Microsoft 365 Archive to completely restrict access until an administrator restores them.
Find SharePoint sites that nobody uses any more, check with the owners, and retire the sites they no longer need.
Before you begin
- Your Rencore role needs the permissions to create policies, reviews and automations. See Rencore roles.
- SharePoint is connected and scanned.
- A read-only lock works with SharePoint alone. ArchivingArchivingArchiving puts a Team or SharePoint site into a read-only state when it is no longer in active use, without deleting it.Read more a site uses Microsoft 365Microsoft 365Microsoft 365 is the Microsoft cloud suite of Teams, SharePoint, OneDrive, Exchange and the Office apps.Read more Archive, which Microsoft bills pay-as-you-go. Set up billing for Microsoft 365 Archive in your tenant first. Without it, the action fails with an error that asks you to set up billing for Microsoft 365 Archive.
- The template descriptions of “Archive SharePoint Site” and “Archive SharePoint Site (with Approval)” say they set the site to read-only. Both run the Archive a Site action, which moves the site into Microsoft 365 Archive. To set sites to read-only, use “Set SharePoint Site to Read-Only”.
- For TeamsMicrosoft TeamsMicrosoft Teams is the Microsoft 365 app for chat, meetings and team collaboration.Read more, use the automation templateAutomationAn automation is a workflow Rencore Governance runs on inventory objects when a trigger fires.Read more “Archive unused teams” instead. See Archive or Unarchive a Team.
Steps
Find the inactive sites
- Go to Policies > Policy Options ([…]) > Create Policy.
- In the “Policy Template LibraryTemplate libraryA template library is the catalog of prebuilt items you start from when you add something new in Rencore Governance.Read more”, choose SharePoint site is inactive for more than 90 days. Other useful templates are Site collection is unused with more than 1 GB and Unused Classic sites.
- On the “Logic” screen, change the number of days if your rule is different, then save. See Create a Policy from a Template.
- For a one-off list, the report templateReportA report is a saved query over the inventory that Rencore Governance shows as a chart, list, table or KPI, for example unused SharePoint site collections larger than 1 GB.Read more “Unused Sites” shows sites that have not been used for more than 90 days.
Ask the owners
- Create a Review and use object filters to limit it to the inactive sites.
- On the “Automations” tab, turn on custom automations and select the automation templates the owners can choose from. Give each one an action name, such as “Archive”. See Review Automations.
- “Set SharePoint Site to Read-Only” emails the owner and sets the site to read-only.
- “Archive SharePoint Site” emails the owner and moves the site into Microsoft 365 Archive.
- “Archive SharePoint Site (with Approval)” sends an approval requestApprovalAn approval is a decision Rencore Governance asks a person to make before it goes ahead.Read more first. If it is rejected, the site stays active.
- Optionally, under “Follow-up on expiry”, select one of these automations, so sites whose owners do not answer are also handled.
- Save and start the review. Owners answer in the Rencore Teams AppRencore Teams AppThe Rencore Teams App (formerly Rencore Nova) brings Rencore Governance into Microsoft Teams for the people who own and use workspaces.Read more and pick the action there.
Lock a single site
- To set one site to read-only without a review, open it in the inventory and run the built-in actionBuilt-in actionA built-in action is a ready-made operation you run directly on inventory objects without building an automation, for example adding a user to a Team.Read more Set SharePoint Site CollectionSite collectionA site collection is the top-level SharePoint container that holds a root site, its subsites, lists, libraries and files.Read more lock/read only state. Unlock SharePoint Site Collection reverses it. See Executing an Action.
What you see
A read-only site stays open for viewing, but nobody can add new content. An archived site keeps all its content and permissions, but members cannot open it until an administrator restores it. After the next scan, the inventory shows the new “Lock State” or “Site is archived” value.
Limits
- Rencore Governance has no lifecycle stages with renewal periods. Use a scheduled review to ask owners again.
- Archiving single files also needs Microsoft 365 Archive.
Frequently asked questions
Why does the archive SharePoint site action fail with a billing error?
Archiving a site uses Microsoft 365 Archive, which Microsoft bills pay-as-you-go. Set up billing for Microsoft 365 Archive in your tenant first. Without it, the action fails with an error that asks you to set up billing.
Do the archive SharePoint site templates set the site to read-only?
No. Both "Archive SharePoint Site" and "Archive SharePoint Site (with Approval)" run the Archive a Site action, which moves the site into Microsoft 365 Archive, even though their descriptions say read-only. To set sites to read-only, use "Set SharePoint Site to Read-Only".
How do I find SharePoint sites that nobody has used for a while?
Create a policy from the template "SharePoint site is inactive for more than 90 days" and change the number of days on the Logic screen if needed. For a one-off list, use the report template "Unused Sites".
How do I let site owners decide whether to archive their inactive sites?
Create a Review limited to the inactive sites with object filters. On the Automations tab, turn on custom automations, select the templates owners can choose from, and give each an action name. Owners answer in the Rencore Teams App.
What happens when an approval request for archiving a site is rejected?
The site stays active. "Archive SharePoint Site (with Approval)" sends an approval request first, and the site is only moved into Microsoft 365 Archive if the request is approved.
Was this page helpful?
Thanks for the feedback.
Thanks. What was wrong?