How to Find Archived SharePoint Site Details with PowerShell
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.

- 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.
Ensure you have the necessary SharePoint Administrator privileges and the latest version of the Microsoft Graph PowerShell module installed on your system.
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.
Open your PowerShell console as an administrator and authenticate with your SharePoint admin center or Microsoft Graph environment.
Run a script targeting your archived sites to extract the LastContentModifiedDate property.
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.

Consult the Microsoft PowerShell Community for Graph Scripts
If standard commands are insufficient, you can request advanced Microsoft Graph PowerShell scripts from Microsoft community experts.
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. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 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. Open your Microsoft files: Launch WPS Office and directly open any existing Word, Excel, or PowerPoint files to continue working seamlessly.

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.




