Skip to content

Commit ffaaf60

Browse files
authored
Merge pull request #67444 from eross-msft/groups-update
Fixing formatting
2 parents e269a21 + 2131a4c commit ffaaf60

File tree

2 files changed

+35
-25
lines changed

2 files changed

+35
-25
lines changed

articles/active-directory/users-groups-roles/groups-restore-deleted.md

+35-25
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
22
title: Restore a deleted Office 365 group in Azure AD | Microsoft Docs
3-
description: How to restore a deleted group, view restorable groups, and permamnently delete a group in Azure Active Directory
3+
description: How to restore a deleted group, view restorable groups, and permanently delete a group in Azure Active Directory
44
services: active-directory
5-
documentationcenter: ''
65
author: curtand
7-
manager: mtillman
8-
editor: ''
6+
manager: daveba
97
ms.service: active-directory
108
ms.workload: identity
119
ms.subservice: users-groups-roles
@@ -18,7 +16,6 @@ ms.collection: M365-identity-device-management
1816
---
1917

2018
# Restore a deleted Office 365 group in Azure Active Directory
21-
2219
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.
2320

2421
> [!NOTE]
@@ -28,39 +25,52 @@ The permissions required to restore a group can be any of the following:
2825

2926
Role | Permissions
3027
--------- | ---------
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
3330
User | Can restore any deleted Office 365 group that they owned
3431

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+
![Deleted groups blade](media/groups-lifecycle/deleted-groups3.png)
3639

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
3746
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.
3847

3948
1. Run the following cmdlet to display all deleted Office 365 groups in your tenant that are still available to restore.
4049

41-
```
42-
Get-AzureADMSDeletedGroup
43-
```
50+
```
51+
Get-AzureADMSDeletedGroup
52+
```
4453
4554
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-
```
5055
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
5261
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.
5362
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.
5564
56-
```
57-
Restore-AzureADMSDeletedDirectoryObject –Id <objectId>
58-
```
59-
60-
Alternatively, the following cmdlet can be run to permanently remove the deleted group.
61-
```
62-
Remove-AzureADMSDeletedDirectoryObject –Id <objectId>
63-
```
65+
```
66+
Restore-AzureADMSDeletedDirectoryObject –Id <objectId>
67+
```
68+
69+
2. Alternatively, the following cmdlet can be run to permanently remove the deleted group.
70+
71+
```
72+
Remove-AzureADMSDeletedDirectoryObject –Id <objectId>
73+
```
6474
6575
## How do you know this worked?
6676

0 commit comments

Comments
 (0)