Restoring Office365 group failed

At times, when we attempt to restore the Office365 Group from Exchange Admin Center, we get the error "The unified group restore failed in AAD. Please try again later".


Solution:

  1. Open a Windows PowerShell as Administrator
  2. Run the cmdlet to install the AzureAD and Public preview release modules


Install-Module AzureAD
Install-module AzureADPreview


  1. Before we attempt to restore the Office365 group, we need to connect to the online service by running the below cmdlet,

Connect-AzureAD

  1. Then you may run the below cmdlet to get the list of deleted Office365 groups,

Get-AzureADMSDeletedGroup -All 500

Note: -All parameter \ switch refers to the number of the results returned when running the cmdlet. Based on your requirement you may increase this value

  1. You may note down the "Id" for the Office365 group which needs to be restored, then run the below cmdlet to restore the group,

Restore-AzureADMSDeletedDirectoryObject –Id <objectId>

Comments

  1. Great instructions. Thanks! Worked exactly as you described.

    ReplyDelete

Post a Comment

Popular posts from this blog

Fitbit Versa 2 - Data not cleared Sync & try again

Fitbit Versa 2 - Unlock with your Phone

Exchange - Mail.que utilizing more space - Exchange Drive - Out of Space