Forum Discussion

cfiessinger's avatar
cfiessinger
Icon for Microsoft rankMicrosoft
Mar 28, 2017

New feature: Recover deleted Office 365 Group via PowerShell

If you've deleted an Office 365 group, it's now retained by default for a period of 30 days. Within that period, you can now restore the group and its associated apps and data via a new PowerShell cmdlet.  For additional information please go to https://aka.ms/groupssoftdelete.

 

50 Replies

  • Great news! Is it planned to know how long Groups have left in the recoverable state be available via these cmdlets?
    • cfiessinger's avatar
      cfiessinger
      Icon for Microsoft rankMicrosoft

      From the documentation:

      "You can also permanently delete a soft-deleted group if you can't wait the 30 days for the retention period to expire for the content to be permanently deleted."

      • Paul Miller's avatar
        Paul Miller
        Copper Contributor

        What's the procedure for permanent deletion? the -permanent switch is designated for internal Microsoft Use only according to the documentation for the Remove-UnifiedGroup command. And attempting to use it in Azure PowerShell results in the following error: 

        A parameter cannot be found that matches parameter name 'Permanent'.
        + CategoryInfo : InvalidArgument: (:) [Remove-UnifiedGroup], ParameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,Remove-UnifiedGroup
        + PSComputerName : ps.outlook.com

  • Thank you!!!!! When restoring a group will any data (Sharepoint Document Libraries) associated with the group be restored as well?
    • cfiessinger's avatar
      cfiessinger
      Icon for Microsoft rankMicrosoft
      it does as mentioned in the document referred above:
      "Group content that can be restored includes: (...) SharePoint Online team site and files"
  • Brent Ellis's avatar
    Brent Ellis
    Silver Contributor

    woot!

     

    Is there a way for admins to know if/when an Office 365 Group is deleted?