File last accessed date - SharePoint Tenant.

Copper Contributor

Is there a PowerShell script that runs across a whole SharePoint tenant that will find all files that have not been accessed for a specific date range (say 7 years)? We are looking at setting up retention policies but need to understand the impact on the business. Ideally the end result would be a csv file with the file name, URL, size, when it was last accessed and the file creator principal ID.

1 Reply

@Duane Bergh Just wondering if anyone has found a solution to this as its such a foundational element for implementing retention & other GDPR requirements.