You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Configure the expiration policy for Office 365 groups
23
23
24
-
This article tells you how to manage the lifecycle of Office 365 groups by setting an expiration policy for them. You can set expiration policy for only Office 365 groups in Azure Active Directory (Azure AD).
24
+
This article tells you how to manage the lifecycle of Office 365 groups by setting an expiration policy for them. You can set expiration policy only for Office 365 groups in Azure Active Directory (Azure AD).
25
25
26
26
Once you set a group to expire:
27
27
28
-
- Groups with user activities are automatically renewed as the expiration nears
28
+
- Groups with user activities are automatically renewed as the expiration nears (preview)
29
29
- Owners of the group are notified to renew the group, if the group is not auto-renewed
30
30
- Any group that is not renewed is deleted
31
31
- Any Office 365 group that is deleted can be restored within 30 days by the group owners or the administrator
32
32
33
-
The folloing actions will lead to automatic renewal of a group:
- Outlook - Join group, Read/write group message, and Like a message
37
-
- Teams - Visit a Teams channel
38
-
39
-
Currently only one expiration policy can be configured for Office 365 groups on a tenant.
33
+
Currently only one expiration policy can be configured for all Office 365 groups in an Azure AD organization.
40
34
41
35
> [!NOTE]
42
36
> Configuring and using the expiration policy for Office 365 groups requires you to possess but not necessarily assign Azure AD Premium licenses for the members of all groups to which the expiration policy is applied.
43
37
44
38
For information on how to download and install the Azure AD PowerShell cmdlets, see [Azure Active Directory PowerShell for Graph 2.0.0.137](https://www.powershellgallery.com/packages/AzureADPreview/2.0.0.137).
45
39
40
+
## Activity-based automatic renewal (preview)
41
+
42
+
Group expiration policy allows you to set the expiration lifespan for selected or all Office 365 groups. After the defined group lifespan, owners are asked to renew the group if it is still needed. With Azure AD intelligence, groups also now automatically renewed based on whether they have been in recent used. This feature eliminates the need for manual action on the part of the group owners, and is based on user activity in groups across Office 365 services like Outlook, SharePoint, Teams, Yammer, and others.
43
+
44
+
For a real-world example: At Contoso, the administrator has configured the group lifetime to be 180 days. Megan is the owner of the Contoso Marketing Office 365 group, with Enrico and Alex as its members. Her group is set to expire in only 45 days. If an owner or a group member does anything like upload a document in SharePoint, visit a Teams channel, or send an email to the group in Outlook, the group is automatically renewed for another 180 days, and the owner Megan does not get any renewal notifications.
45
+
46
46
## Roles and permissions
47
47
48
48
The following are roles that can configure and use expiration for Office 365 groups in Azure AD.
@@ -54,6 +54,18 @@ User | Can renew an Office 365 group that they own<br>Can restore an Office 365
54
54
55
55
For more information on permissions to restore a deleted group, see [Restore a deleted Office 365 group in Azure Active Directory](groups-restore-deleted.md).
56
56
57
+
### User actions for group automatic expiration renewal
58
+
59
+
The following user actions cause automatic renewal of group expiration:
60
+
61
+
- SharePoint: View, edit, download, move, share, or upload files
62
+
- Outlook: Join group, read/write group message from group space, Like a message (in Outlook Web Access)
63
+
- Teams: Visit a Teams channels
64
+
65
+
### Auditing and reporting
66
+
67
+
Administrators can get a list of automatically renewed groups from the activity audit logs in Azure AD.
68
+
57
69
## Set group expiration
58
70
59
71
1. Open the [Azure AD admin center](https://aad.portal.azure.com) with an account that is a global administrator in your Azure AD organization.
@@ -64,16 +76,16 @@ For more information on permissions to restore a deleted group, see [Restore a d
64
76
65
77
3. On the **Expiration** page, you can:
66
78
67
-
- Set the group lifetime in days. You could select one of the preset values, or a custom value (should be 31 days or more).
68
-
- Specify an email address where the renewal and expiration notifications should be sent when a group has no owner.
69
-
- Select which Office 365 groups expire. You can set expiration for:
70
-
-**All** Office 365 groups
71
-
- A list of **Selected** Office 365 groups
72
-
-**None** to restrict expiration for all groups
73
-
- Save your settings when you're done by selecting **Save**.
79
+
- Set the group lifetime in days. You could select one of the preset values, or a custom value (should be 31 days or more).
80
+
- Specify an email address where the renewal and expiration notifications should be sent when a group has no owner.
81
+
- Select which Office 365 groups expire. You can set expiration for:
82
+
-**All** Office 365 groups
83
+
- A list of **Selected** Office 365 groups
84
+
-**None** to restrict expiration for all groups
85
+
- Save your settings when you're done by selecting **Save**.
74
86
75
87
> [!NOTE]
76
-
> When you first set up expiration, any groups that are older than the expiration interval are set to 35 days until expiration unless the group is auto-renewed or the owner renews it.
88
+
> When you first set up expiration, any groups that are older than the expiration interval are set to 35 days until expiration unless the group is auto-renewed or the owner renews it.
77
89
>
78
90
> When a dynamic group is deleted and restored, it's seen as a new group and re-populated according to the rule. This process can take up to 24 hours.
79
91
>
@@ -96,18 +108,22 @@ The group can be restored within 30 days of its deletion by selecting **Restore
96
108
If the group you're restoring contains documents, SharePoint sites, or other persistent objects, it might take up to 24 hours to fully restore the group and its contents.
97
109
98
110
## How to retrieve Office 365 group expiration date
111
+
99
112
In addition to Access Panel where users can view group details including expiration date and last renewed date, expiration date of an Office 365 group can be retrieved from Microsoft Graph REST API Beta. expirationDateTime as a group property has been enabled in Microsoft Graph Beta. It can be retrieved with a GET request. For more details, please refer to [this example](https://docs.microsoft.com/graph/api/group-get?view=graph-rest-beta#example).
100
113
101
114
> [!NOTE]
102
115
> In order to manage group memberships on Access Panel, "Restrict access to Groups in Access Panel" needs to be set to "No" in Azure Active Directory Groups General Setting.
103
116
104
117
## How Office 365 group expiration works with a mailbox on legal hold
105
-
When a group expires and is deleted, then 30 days after deletion the group's data from apps like Planner, Sites, or Teams is permanently deleted, but the group mailbox that is on legal hold is retained and is not permanently deleted. The administrator can use Exchange cmdlets to restore the mailbox to fetch the data.
118
+
119
+
When a group expires and is deleted, then 30 days after deletion the group's data from apps like Planner, Sites, or Teams is permanently deleted, but the group mailbox that is on legal hold is retained and is not permanently deleted. The administrator can use Exchange cmdlets to restore the mailbox to fetch the data.
106
120
107
121
## How Office 365 group expiration works with retention policy
122
+
108
123
The retention policy is configured by way of the Security and Compliance Center. If you have set up a retention policy for Office 365 groups, when a group expires and is deleted, the group conversations in the group mailbox and files in the group site are retained in the retention container for the specific number of days defined in the retention policy. Users won't see the group or its content after expiration, but can recover the site and mailbox data via e-discovery.
109
124
110
125
## PowerShell examples
126
+
111
127
Here are examples of how you can use PowerShell cmdlets to configure the expiration settings for Office 365 groups in your Azure AD organization:
112
128
113
129
1. Install the PowerShell v2.0 module and sign in at the PowerShell prompt:
Copy file name to clipboardExpand all lines: articles/active-directory/users-groups-roles/groups-quickstart-expiration.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
10
10
ms.workload: identity
11
11
ms.subservice: users-groups-roles
12
12
ms.topic: quickstart
13
-
ms.date: 05/06/2019
13
+
ms.date: 10/24/2019
14
14
ms.author: curtand
15
15
ms.reviewer: krbain
16
16
ms.custom: it-pro
@@ -23,9 +23,13 @@ In this quickstart, you set the expiration policy for your Office 365 groups. Wh
23
23
24
24
Expiration policy is simple:
25
25
26
-
* Group owners are notified to renew an expiring group
27
-
* A group that is not renewed is deleted
28
-
* A deleted Office 365 group can be restored within 30 days by a group owner or by an Azure AD administrator
26
+
- Groups with user activities are automatically renewed as the expiration nears (preview)
27
+
- Group owners are notified to renew an expiring group
28
+
- A group that is not renewed is deleted
29
+
- A deleted Office 365 group can be restored within 30 days by a group owner or by an Azure AD administrator
30
+
31
+
> [!NOTE]
32
+
> Groups now use Azure AD intelligence to automatically renewed based on whether they have been in recent use (currently in public preview, so no sign-up is required). This feature is based on user activity in groups across Office 365 services like Outlook, SharePoint, Teams, Yammer, and others.
29
33
30
34
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
0 commit comments