How to find unused SharePoint list based on last modified time?
SharePoint Online lists are essential for asset management and collaboration in an organization. However, as usage grows, it's common for some lists to become inactive. These SharePoint Online inactive lists can impact performance and occupy valuable storage space, making it crucial to address them for a more efficient collaborative environment.
Identify inactive/unused lists in SharePoint Online
- Although the UI offers the ability to get all lists in a SharePoint site, it does not allow filtering to see only inactive lists based on the last activity time. However, you can achieve this by executing our PowerShell script, 'GetSPOListItemsCount.ps1', with the âInactiveDaysâ parameter.
./GetSPOListItemsCount.ps1 -TenantName <TenantName> -ClientId <ClientId> -CertificateThumbprint <CertThumbprint> -InactiveDays <Days>
- For example, by executing the above cmdlet with the 'Inactive days' parameter set to 100, you can retrieve all SharePoint lists that have been inactive for over 100 days, along with their item counts.
- Similarly, you can include the 'SiteUrl' parameter along with the respective site URL in the cmdlet to list only the unused lists within a specific site.
./GetSPOListItemsCount.ps1 -SiteUrl <URL> -TenantName <TenantName> -ClientId <ClientId> -CertificateThumbprint <CertThumbprint> -InactiveDays <Days>
Tired of endless scrolling through site after site to find unused SharePoint Online lists?
- With the SharePoint Online inactive lists report in AdminDroid, you can view all inactive lists across your sites in one dedicated place.
- This report provides detailed information on each list's last activity date and the number of inactive days, and more.
Handy tip: Use the Schedule (â°) option to receive automated insights on inactive SharePoint lists, allowing you to take appropriate actions.