Fix Teams Expiration Policy Does Not Renew a Team for a Department Team
🔍 WiseChecker

Fix Teams Expiration Policy Does Not Renew a Team for a Department Team

When you set up a Microsoft 365 group expiration policy in the Microsoft 365 admin center, you expect Teams to renew automatically when active members use it. But for a department team, the policy may not renew the team at all, and the team ends up deleted or archived. This happens because the expiration policy only renews a group when a specific set of conditions are met, and those conditions are often not satisfied for internal department teams. This article explains the exact triggers for automatic renewal, walks you through a manual renewal workaround, and shows you how to adjust the policy so your department team never expires unexpectedly.

You will learn the difference between automatic and manual renewal, why your department team fails the automatic renewal check, and the exact PowerShell commands to renew it manually. You will also see how to change the policy to include more renewal triggers and how to avoid common mistakes like excluding the wrong users or setting the wrong renewal period.

Key Takeaways: Renew Your Expiring Department Team Before It Gets Deleted

  • Microsoft 365 admin center > Active teams > Expiration: Shows the exact expiration date and the last renewal date for your team.
  • PowerShell cmdlet Set-AzureADMSGroup: Manually renews the team by updating the renewal date, bypassing the automatic check.
  • Microsoft 365 admin center > Settings > Org settings > Group expiration: Lets you change the renewal period and add more renewal triggers like Teams activity.

ADVERTISEMENT

Why the Expiration Policy Does Not Renew a Department Team Automatically

The group expiration policy in Microsoft 365 checks each group automatically every day. A group is renewed only if it meets at least one of the following conditions: any member or owner visits the group in Outlook, SharePoint, or Teams; any member or owner uses Teams on any platform; or any member or owner sends an email to the group. For a department team, these activities may not happen regularly. Department teams often have few members, and those members may only use the team occasionally for file storage or announcements. If no one performs a qualifying action within the renewal period, the policy marks the team as expired and schedules deletion.

Another reason is that the expiration policy may be configured with a short renewal period, such as 30 days, while the department team is only used monthly. Even if a member opens the team at the end of the month, the activity may not be captured in time because the policy runs its check on a fixed schedule. Additionally, if the team is created by an administrator using a template, the group may not have a valid owner, and the policy requires at least one owner to renew the group. If the only owner is inactive or has left the organization, the renewal fails silently.

How the Automatic Renewal Check Works

The Microsoft 365 expiration service runs a background job every 24 hours. It looks at each group with an expiration policy assigned. It checks the group’s last activity date, which is stored in Azure AD. The service renews the group if the last activity date is within the renewal period. If not, it sends a notification to the group owners and gives them a grace period, usually 30 days, to renew manually. If no one renews, the group is deleted. For a department team, the last activity date may be old because the team is not used daily, so the service does not renew it.

Steps to Manually Renew a Department Team and Adjust the Policy

Follow these steps to renew your department team immediately and then change the policy to prevent future expirations.

  1. Open the Microsoft 365 admin center and locate the team
    Go to Microsoft 365 admin center > Active teams. Find your department team in the list. Note the group ID, which you will need later. The group ID looks like a long string of letters and numbers.
  2. Check the expiration date and last renewal date
    Select the team and look at the Expiration column. This shows when the team will expire if not renewed. Also check the Last renewal column to see the last time the policy renewed it. If the last renewal is older than the renewal period, the team is at risk.
  3. Install the Azure AD PowerShell module
    Open PowerShell as an administrator. Run Install-Module AzureAD and press Enter. If you already have it, skip this step. Then run Connect-AzureAD and sign in with an account that has Global Administrator or Group Administrator permissions.
  4. Manually renew the team with PowerShell
    Run the following command to renew the team immediately:
    Set-AzureADMSGroup -Id "GROUP_ID" -RenewedDateTime (Get-Date)
    Replace GROUP_ID with the group ID you noted in step 1. This command sets the renewal date to today, which tells the expiration service that the group is active. The team will be renewed and the expiration date will be extended by the renewal period.
  5. Change the expiration policy to include Teams activity
    Go to Microsoft 365 admin center > Settings > Org settings > Group expiration. Under Renewal period, choose a longer period, such as 90 or 180 days, to give your department team more time between uses. Under Renew automatically for active groups, make sure the checkbox is selected. This enables the policy to renew groups when members use Teams, Outlook, or SharePoint. If you want to exclude certain groups, add them to the Excluded groups list.
  6. Verify that the policy applies to your team
    In the Group expiration settings, check the Groups with expiration policy section. Confirm that your department team is listed. If it is not, the policy may not be applied to all groups. You can use the Select groups option to apply the policy to specific groups, or set it to All groups.

ADVERTISEMENT

If the Department Team Still Expires After These Steps

Teams Does Not Renew Even After Members Use It Daily

If your team is used daily but still expires, the issue may be that the group has no valid owner. The expiration policy requires at least one owner to renew the group. Check the owners of the team in the Teams admin center. If the only owner is an inactive account, add a new owner. Go to Teams admin center > Teams > Manage teams, select your team, and add a member as an owner. Then run the PowerShell command again to renew the team.

PowerShell Command Fails with an Access Denied Error

The Set-AzureADMSGroup command requires the Group.ReadWrite.All permission. If you get an access denied error, your account may not have the right role. Ask a Global Administrator to run the command for you, or request the Groups Administrator role. Alternatively, use the Microsoft 365 admin center to renew the team manually by clicking the Renew button next to the team in the Active teams list, if it is available.

Team Is Deleted Before You Can Renew It

If the team is already deleted, you can recover it within 30 days. Go to Microsoft 365 admin center > Deleted groups. Find your team and select Restore group. After restoration, the team becomes active again, but the expiration policy will still apply. Immediately renew it using the PowerShell command and then adjust the policy as described above.

Comparison: Automatic Renewal vs Manual Renewal for a Department Team

Item Automatic Renewal Manual Renewal
Trigger Member activity in Outlook, SharePoint, or Teams Admin runs PowerShell command or clicks Renew
Time to apply Up to 24 hours after activity Immediate
Requires owner Yes, at least one active owner Yes, but admin can renew without owner
Best for Teams with regular daily use Department teams used monthly or quarterly
Risk of failure High if team is inactive Low if performed before expiration date

Use automatic renewal for teams that are active daily, and manual renewal for department teams that are used less frequently. For a department team, you can also set the renewal period to 180 days to reduce the chance of expiration between uses.

You now know how to renew a department team that the expiration policy does not renew automatically. You can use the PowerShell command Set-AzureADMSGroup to renew the team immediately, and you can adjust the group expiration policy in the Microsoft 365 admin center to include more renewal triggers. After changing the policy, verify that your team is listed under the policy and that it has at least one active owner. To avoid future issues, set a renewal period of 180 days and review the team’s owner list quarterly. If you manage several department teams, consider creating a scheduled PowerShell task that renews all teams with a low activity level before their expiration date.

ADVERTISEMENT