logo
search
SharePoint Document Issues

How to Find Archived SharePoint Site Details with PowerShell

Elise WilliamsElise Williams Sep 27, 2026 871 views

Question details

The user wants to retrieve information about archived SharePoint sites and determine if PowerShell can identify the exact date and time the site was archived.

How to Find Archived SharePoint Site Details with PowerShell
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Auditing or managing inactive SharePoint environments where exact archive timestamps are needed for compliance or reporting.
Observed behavior
PowerShell does not provide a direct property for the exact archive date and time, requiring administrators to look for alternative properties or advanced scripts.
Before you start

Ensure you have the necessary SharePoint Administrator privileges and the latest version of the Microsoft Graph PowerShell module installed on your system.

Solution 1Recommended

Use LastContentModifiedDate as an Approximate Archive Date

Since PowerShell cannot retrieve the exact date and time a site was archived, you can use the LastContentModifiedDate property to estimate when activity stopped.

The system does not record a specific timestamp for the exact moment a site is archived. However, the last time content was modified often aligns closely with the end of the site's active lifecycle.

1
Connect to SharePoint via PowerShell

Open your PowerShell console as an administrator and authenticate with your SharePoint admin center or Microsoft Graph environment.

2
Retrieve the LastContentModifiedDate

Run a script targeting your archived sites to extract the LastContentModifiedDate property.

3
Verify data reliability

Manually compare the retrieved dates against a few known archived sites in the standard SharePoint web interface to determine if this approximation is reliable for your specific tenant.

Use LastContentModifiedDate as an Approximate Archive Date
Data Approximation: This method only provides a useful approximation. It does not reflect the exact moment an administrator clicked the archive button.
Free Microsoft Office alternative

Looking for a Lightweight Alternative to Microsoft Office?

While managing SharePoint sites requires specialized admin tools, your daily document creation doesn't have to be complicated. WPS Office provides a lightweight, highly compatible alternative for Word, Excel, and PowerPoint files without the heavy enterprise overhead.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the software: Run the installer and follow the on-screen prompts to set up WPS Office on your device in just a few minutes.
  3. 3. Open your Microsoft files: Launch WPS Office and directly open any existing Word, Excel, or PowerPoint files to continue working seamlessly.
Fully compatible with Microsoft Office formats (DOCX, XLSX, PPTX)Lightweight installation with fast launch speedsFree to use with a familiar, easy-to-navigate interfaceBuilt-in PDF editing and advanced document sharing tools
QA img-9

Frequently Asked Questions

Can PowerShell give me the exact time a SharePoint site was archived?

No, PowerShell cannot retrieve the exact date and time when a site was archived. The system does not explicitly log this action as an easily queryable property.

What is the LastContentModifiedDate property used for?

The LastContentModifiedDate indicates the last time any document or list item within the site was altered. For archived sites, this is heavily relied upon as a useful approximation for when the site became inactive.

Where can I find advanced scripts for managing SharePoint archives?

The best place to find advanced scripts or request specific Microsoft Graph PowerShell commands is the Microsoft Q&A community page under the PowerShell tag.