Events
Apr 9, 3 p.m. - Apr 10, 12 p.m.
Code the Future with AI and connect with Java peers and experts at JDConf 2025.
Register NowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When you delete a Microsoft 365 group in Microsoft Entra ID, 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 Microsoft 365 groups in Microsoft Entra ID. It isn't available for security groups and distribution groups. The 30-day group restoration period isn't customizable.
Permissions that are required to restore a group are listed in the following table.
Role | Permissions |
---|---|
Global Administrator, Group Administrator, Partner Tier 2 Support, and Intune Administrator | Can restore any deleted Microsoft 365 group |
User Administrator and Partner Tier 1 Support | Can restore any deleted Microsoft 365 group except those groups assigned to the Global Administrator role |
User | Can restore any deleted Microsoft 365 group that they own |
Sign in to the Microsoft Entra admin center as at least a Groups Administrator.
Select Microsoft Entra ID.
Select Groups > All groups and then select Deleted groups to view the deleted groups that are available to restore.
On the Deleted groups pane, you can:
Use the following cmdlets to view the deleted groups. You need to verify that the groups you're interested in weren't permanently purged. These cmdlets are part of the Microsoft Graph PowerShell module. For more information about this module, see Microsoft Graph PowerShell overview.
Run the following cmdlet to display all deleted Microsoft 365 groups in your Microsoft Entra organization that are still available to restore. Install the Graph beta version if it isn't already installed on the machine.
Install-Module Microsoft.Graph.Beta
Connect-MgGraph -Scopes "Group.ReadWrite.All"
Get-MgBetaDirectoryDeletedGroup
Alternatively, if you know the object ID of a specific group (and you can get it from the cmdlet in step 1), run the following cmdlet. You need to verify that the specific deleted group wasn't permanently purged.
Get-MgBetaDirectoryDeletedGroup -DirectoryObjectId <objectId>
After you verify that the group is still available to restore, restore the deleted group with one of the following steps. If the group contains documents, SharePoint sites, or other persistent objects, it might take up to 24 hours to fully restore a group and its contents.
Run the following cmdlet to restore the group and its contents.
Restore-MgBetaDirectoryDeletedItem -DirectoryObjectId <objectId>
Alternatively, you can run the following cmdlet to permanently remove the deleted group.
Remove-MgBetaDirectoryDeletedItem -DirectoryObjectId <objectId>
To verify that you successfully restored a Microsoft 365 group, run the Get-MgBetaGroup –GroupId <objectId>
cmdlet to display information about the group. After the restore request is completed:
For more information on Microsoft Entra groups:
Events
Apr 9, 3 p.m. - Apr 10, 12 p.m.
Code the Future with AI and connect with Java peers and experts at JDConf 2025.
Register NowTraining
Module
Microsoft Entra ID 관리 - Training
이 모듈을 사용하면 RBAC, 사용자/그룹 관리, PowerShell cmdlet 및 AD DS 개체 동기화를 비롯한 Microsoft Entra ID 작업을 처리할 수 있습니다. 이 모듈을 완료한 후 조직에서 Microsoft Entra ID를 효과적으로 활용하고 관리합니다.
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
ID 솔루션을 현대화하고, 하이브리드 솔루션을 구현하고, ID 거버넌스를 구현하는 Microsoft Entra ID의 기능을 시연합니다.