Manage site lifecycle policies
Some features in this article require Microsoft SharePoint Premium - SharePoint Advanced Management
Site lifecycle management
The site lifecycle management feature from Microsoft SharePoint Premium - SharePoint Advanced Management lets you manage inactive sites across your tenant from the SharePoint admin center.
You can set up an inactive site policy to automatically detect inactive sites and send notifications to site owners via email. The owners can then confirm whether the site is still active. When you're setting up a site lifecycle policy, you can choose between a simulation policy and an active policy. The simulation policy runs once and generates a report based on the set parameters. If the policy fails, you need to delete it and create a new simulation policy. You can also convert a simulation policy to an active policy.
The active policy runs monthly and generates reports, sending notifications to the respective site owners to confirm the inactive site's status. If the active policy fails during a particular month, it will run again on the next schedule.
Site owner notifications
The notifications inform SharePoint site owners that a site is inactive for X months. To keep the site, the owner should select the Certify site button in the notification email. Once the owner certifies the site as active, site lifecycle management doesn't check the activity of the confirmed site for one year.
Site owners are notified monthly for three months and then no notifications are sent for the next three months. After six months, monthly notifications resume if the site is inactive. The policy execution report lists the inactive site as unactioned by site owner. You can download the policy execution report and filter out sites that are marked as "no owner action."
Tip
Before creating an inactive site policy, check for any site access restriction policies that could disrupt site attestation by the respective site owner.
Sites managed by multiple inactive site policies
If a site falls under multiple inactive site policies, notification emails aren't repeated. If a notification was sent within the last 30 days from any inactive site policy, the site remains inactive, and no more notifications are sent. The policy execution report shows the site's status as "Notified by another policy."
Requirements
Site lifecycle management requires Microsoft SharePoint Premium - SharePoint Advanced Management.
Create an inactive site policy
To create an inactive site policy, go to the SharePoint admin center.
Expand Policies and select Site lifecycle management.
Select + Create policy and select Next.
Name your policy, add a description (optional) and select a policy mode. Select Next.
Select Done. Your policy is now created and can be viewed and managed from the Site lifecycle management dashboard.
Scope of inactive site policies
You can configure parameters for an inactive site policy like inactive time period, template type, site creation source, sensitivity labels, and exclusion of up to 100 sites.
Site activities
Inactive site policies analyze activity across SharePoint and connected platforms like Teams, Viva Engage (formerly Yammer), and Exchange to detect a site's last activity.
Platform type | Activities |
---|---|
SharePoint | Viewed files, edited files, shared files internally and externally, synced files, viewed pages, visited pages |
Viva Engage (formerly Yammer) | Posted messages, read conversations, liked messages |
Teams | Posted channel messages in a team across all channels, posted messages in Teams and all channels, replied to messages, mentioned in messages, reacted to messages, sent urgent messages, conducted meetings (recurring, ad hoc, one-time) |
Exchange | Received emails in the Exchange mailbox |
Site templates
Site lifecycle management also reviews activity of communication sites, classic sites, Teams-connected sites, and group-connected sites with the following site template types:
Site type | Template type |
---|---|
Communication site | SitePagePublishing#0 |
Classic sites | STS#0, STS#1, STS#2, WIKI#0, BLOG#0, SGS#0, SPS#0, SPSNEWS#0, ENTERWIKI#0, COMMUNITY#0, DEV#0, EXPRESS#0, EHS#1, EHS#2 |
Teams-connected site | STS#3 or Group#0 |
Group-connected site | STS#3 or Group#0 |
Excluded sites
The following sites are excluded from site activity detection:
- Ownerless sites
- OneDrive sites
- Sites with retention policies applied
- Sites with other compliance policies applied
- Locked sites
- Sites created by system users
- App catalog sites
- Root sites
- Home sites
- Tenant admin sites
Reporting
Sites with inactivity for six months are listed in the policy execution report. The report is available for download as a .csv file and lets you filter out sites that are considered unactioned by site owners.
The following table describes the information included in the policy execution report:
Column | Definition |
---|---|
Site name | Name of inactive site |
URL | URL of inactive site |
Template | Template of inactive site |
Sensitivity label | Sensitivity label of inactive site |
Site owner emails | Email addresses of site owners receiving inactive site activity email notifications |
Last site activity | Date of last activity detected by inactive site policy across SharePoint site and connected workloads (Exchange, Viva Engage (formerly Yammer), or Teams) |
Date created | Date when the inactive site was created |
Storage used | Storage consumed by inactive site |
Inactive site status | Stage of the policy with the inactive site. There are four possible stages: |
First notification: The first notification was shared with the site owner of the inactive site. | |
30 days since first notification: The second notification was shared with the site owner of the inactive site. | |
60 days since first notification: The third notification was shared with the site owner of the inactive site. | |
No owner action: No action the site owner after three consecutive notifications. | |
Action status | Status of the notification to the site owner: |
Success denotes the notification was delivered to the site owner. | |
Failure denotes the notification to the site owner failed to send. |