Forum Discussion
New feature: Recover deleted Office 365 Group via PowerShell
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."
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
- Paul MillerJan 23, 2018Copper Contributor
Found the Answer in the Linked article.
Remove-AzureADMSDeletedDirectoryObject –Id <objectId>
- cfiessingerJan 23, 2018
Microsoft
great, all documented here: https://support.office.com/en-us/article/Restore-a-deleted-Office-365-Group-b7c66b59-657a-4e1a-8aa0-8163b1f4eb54?ui=en-US&rs=en-001&ad=US