Skip to content

Commit 0af2278

Browse files
authored
Merge pull request #93228 from curtand/exp1024
[Azure AD groups] automatic expiration renewal
2 parents 5377c10 + 436efdf commit 0af2278

File tree

2 files changed

+43
-23
lines changed

2 files changed

+43
-23
lines changed

articles/active-directory/users-groups-roles/groups-lifecycle.md

Lines changed: 35 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.service: active-directory
1111
ms.workload: identity
1212
ms.subservice: users-groups-roles
1313
ms.topic: article
14-
ms.date: 08/06/2019
14+
ms.date: 10/24/2019
1515
ms.author: curtand
1616
ms.reviewer: krbain
1717
ms.custom: it-pro
@@ -21,28 +21,28 @@ ms.collection: M365-identity-device-management
2121

2222
# Configure the expiration policy for Office 365 groups
2323

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).
2525

2626
Once you set a group to expire:
2727

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)
2929
- Owners of the group are notified to renew the group, if the group is not auto-renewed
3030
- Any group that is not renewed is deleted
3131
- Any Office 365 group that is deleted can be restored within 30 days by the group owners or the administrator
3232

33-
The folloing actions will lead to automatic renewal of a group:
34-
35-
- SharePoint - View, Edit, Download, Move, Share, and Upload files
36-
- 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.
4034

4135
> [!NOTE]
4236
> 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.
4337
4438
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).
4539

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+
4646
## Roles and permissions
4747

4848
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
5454

5555
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).
5656

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+
5769
## Set group expiration
5870

5971
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
6476

6577
3. On the **Expiration** page, you can:
6678

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**.
7486

7587
> [!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.
7789
>
7890
> 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.
7991
>
@@ -96,18 +108,22 @@ The group can be restored within 30 days of its deletion by selecting **Restore
96108
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.
97109

98110
## How to retrieve Office 365 group expiration date
111+
99112
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).
100113

101114
> [!NOTE]
102115
> 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.
103116
104117
## 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.
106120

107121
## How Office 365 group expiration works with retention policy
122+
108123
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.
109124

110125
## PowerShell examples
126+
111127
Here are examples of how you can use PowerShell cmdlets to configure the expiration settings for Office 365 groups in your Azure AD organization:
112128

113129
1. Install the PowerShell v2.0 module and sign in at the PowerShell prompt:

articles/active-directory/users-groups-roles/groups-quickstart-expiration.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.service: active-directory
1010
ms.workload: identity
1111
ms.subservice: users-groups-roles
1212
ms.topic: quickstart
13-
ms.date: 05/06/2019
13+
ms.date: 10/24/2019
1414
ms.author: curtand
1515
ms.reviewer: krbain
1616
ms.custom: it-pro
@@ -23,9 +23,13 @@ In this quickstart, you set the expiration policy for your Office 365 groups. Wh
2323

2424
Expiration policy is simple:
2525

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.
2933
3034
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
3135

0 commit comments

Comments
 (0)