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
# Restore a deleted Office 365 group in Azure Active Directory
21
-
22
19
When you delete an Office 365 group in the Azure Active Directory (Azure AD), the deleted group is retained but not visible for 30 days from the deletion date. This behavior is so that the group and its contents can be restored if needed. This functionality is restricted exclusively to Office 365 groups in Azure AD. It is not available for security groups and distribution groups.
23
20
24
21
> [!NOTE]
@@ -28,39 +25,52 @@ The permissions required to restore a group can be any of the following:
28
25
29
26
Role | Permissions
30
27
--------- | ---------
31
-
Company Administrator, Partner Tier2 support, and InTune Service Admins | Can restore any deleted Office 365 group
32
-
User Account Administrator and Partner Tier1 support | Can restore any deleted Office 365 group except those assigned to the Company Administrator role
28
+
Company Administrator, Partner Tier2 support, and Intune Service Admins | Can restore any deleted Office 365 group
29
+
User Account Administrator and Partner Tier1 support | Can restore any deleted Office 365 group except those groups assigned to the Company Administrator role
33
30
User | Can restore any deleted Office 365 group that they owned
34
31
35
-
## View the deleted Office 365 groups that are available to restore
32
+
## View and manage the deleted Office 365 groups that are available to restore
33
+
34
+
1. Sign in to the [Azure AD admin center](https://aad.portal.azure.com) with an Administrator account.
35
+
36
+
2. Select **Groups**, then select **Deleted groups** to view the deleted groups that are available to restore.
37
+
38
+

36
39
40
+
3. On the **Deleted groups** blade, you can:
41
+
42
+
- Restore the deleted group and its contents by selecting **Restore group**.
43
+
- Permanently remove the deleted group by selecting **Delete permanently**. To permanently remove a group, you must be an administrator.
44
+
45
+
## View the deleted Office 365 groups that are available to restore using Powershell
37
46
The following cmdlets can be used to view the deleted groups to verify that the one or ones you're interested in have not yet been permanently purged. These cmdlets are part of the [Azure AD PowerShell module](https://www.powershellgallery.com/packages/AzureAD/). More information about this module can be found in the [Azure Active Directory PowerShell Version 2](/powershell/azure/install-adv2?view=azureadps-2.0) article.
38
47
39
48
1. Run the following cmdlet to display all deleted Office 365 groups in your tenant that are still available to restore.
40
49
41
-
```
42
-
Get-AzureADMSDeletedGroup
43
-
```
50
+
```
51
+
Get-AzureADMSDeletedGroup
52
+
```
44
53
45
54
2. Alternately, if you know the objectID of a specific group (and you can get it from the cmdlet in step 1), run the following cmdlet to verify that the specific deleted group has not yet been permanently purged.
46
-
47
-
```
48
-
Get-AzureADMSDeletedGroup –Id <objectId>
49
-
```
50
55
51
-
## How to restore your deleted Office 365 group
56
+
```
57
+
Get-AzureADMSDeletedGroup –Id <objectId>
58
+
```
59
+
60
+
## How to restore your deleted Office 365 group using Powershell
52
61
Once you have verified that the group is still available to restore, restore the deleted group with one of the following steps. If the group contains documents, SP sites, or other persistent objects, it might take up to 24 hours to fully restore a group and its contents.
53
62
54
-
1.Run the following cmdlet to restore the group and its contents.
63
+
1.Run the following cmdlet to restore the group and its contents.
0 commit comments