Clean up redundant, obsolete and trivial content
AI summary
Create policies to identify files that are old, unused, or trivial, so Copilot and other AI agents use current content instead of outdated information. You can target files by age, size, or modification date, then archive single files, teams, or sites to cold storage while keeping them accessible. This requires specific Rencore role permissions and the Files and Folders add-on.
Find files that are old, unused or trivial, so CopilotMicrosoft 365 CopilotMicrosoft 365 Copilot is the AI assistant in the Microsoft 365 apps. Rencore Governance covers it with the Copilot connector, part of the AI & Agents module.Read more answers from current content and your storage does not fill up with files nobody needs.
Before you begin
- Your Rencore role needs the permissions to create policies and automations. See Rencore roles.
- SharePoint and OneDriveOneDriveOneDrive is the personal file storage of each Microsoft 365 user. The OneDrive connector of Rencore Governance, part of the Digital Workplace module, inventories every OneDrive with its files, folders and file sharing.Read more are connected. File data needs the Files & Folders add-on.
- 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 single files uses Microsoft 365Microsoft 365Microsoft 365 is the Microsoft cloud suite of Teams, SharePoint, OneDrive, Exchange and the Office apps.Read more Archive, which needs its own Microsoft license.
Steps
Find obsolete files
- 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 one of these templates:
- On the “Logic” screen, change the age to your own rule, then save. See Create a Policy from a Template.
Find trivial files
- Create a custom policy on the SharePoint object “File”.
- Add filters on “Size” (for example, smaller than 1 KB) or on “File Extension” (for example, tmp, bak or log).
- Click Preview. Small system files, such as site icons, also match. Add a filter that excludes them before you save.
Find stale knowledge for agents
The templates SharePoint agent uses outdated site collection and SharePoint agent uses outdated list flag SharePoint agents that answer from content nobody has changed for more than a year.
Clean up
- For a single file, open it in the inventory and run Archive or unarchive a SharePoint file. The file moves to Microsoft 365 Archive cold storage. It stays visible, but nobody can open it until it is reactivated. See Executing an Action.
- When a whole Team is out of date, 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 Archive Team, or use the automation templateAutomationAn automation is a workflow Rencore Governance runs on inventory objects when a trigger fires.Read more “Archive unused teams”. See Archive or Unarchive a Team.
- For whole sites, see Archive Inactive SharePoint Sites.
- To free storage held by old versions, see Remove SharePoint File Versions.
What you see
The policies list the files with their site and library. After the next scan, an archived file shows its new “Archive Status” in the inventory, and an archived Team shows “Is Archived”.
Limits
- Rencore Governance does not find duplicate files by their content.
- Files have a modified date, not a last opened date.
- Rencore Governance does not delete or move single files.
Frequently asked questions

Which policy templates find old SharePoint and OneDrive files?
Use the templates SharePoint file is older than 5 years, Unused SharePoint files, or OneDrive file is older than 5 years. On the Logic screen you can change the age to your own rule before you save.
How do I find trivial files such as tmp or bak files?
Create a custom policy on the SharePoint object File. Add filters on Size (for example, smaller than 1 KB) or on File Extension (for example, tmp, bak or log), then click Preview.
Why do small system files like site icons show up in my trivial files preview?
Small system files, such as site icons, also match the Size or File Extension filters. Add a filter that excludes them before you save the policy.
What happens to a file when I archive it?
The file moves to Microsoft 365 Archive cold storage. It stays visible, but nobody can open it until it is reactivated. Archiving single files needs its own Microsoft license.
Can Rencore Governance delete files or find duplicates by content?
No. Rencore Governance does not find duplicate files by their content, and it does not delete or move single files. Files also have a modified date, not a last opened date.
Was this page helpful?
Thanks for the feedback.
Thanks. What was wrong?