Soft-deleted Office 365 groups are groups that have been deleted, but can be restored within 30 days of being deleted. All of the group contents can be restored within this period. After 30 days, soft-deleted Office 365 groups are marked for permanent deletion and can’t be restored.

Undo-SoftDeletedUnifiedGroup -SoftDeletedObject “Marketing Department”


Use the Update-DistributionGroupMember cmdlet to replace all members of distribution groups and mail-enabled security groups. To add or remove existing group members, use the Add-DistributionGroupMember and Remove-DistributionGroupMember

[-DomainController ]
[-Members ]

Update-DistributionGroupMember -Identity “Research Reports” -Members chris@cloudrain.com,michelle@cloudrain.com,laura@cloudrain.com,julia@cloudrain.com