Skip to main content

Subscribing existing members to a Microsoft 365 group

By default Microsoft 365 group members do not get emailed individual copies of messages sent to the group, they will only appear under the named subfolder under groups in the folder list. To rectify this, the user needs to subscribe to the group. Below are the Powershell commands to subscribe existing members to a Microsoft 365 groupgroup.

Source: Michael Paul | @micoolpaul

Subscribe members of a single group

$Group = Get-UnifiedGroup -Identity "Group Name"
$Members = Get-UnifiedGroupLinks -Identity $group.Name -LinkType Members
$Subscribers = Get-UnifiedGroupLinks -Identity $group.name -LinkType Subscribers
foreach ($Member in $Members) {If ($Member.Name -NotIn $Subscribers.Name) { Add-UnifiedGroupLinks -Identity $Group.Name -LinkType Subscribers -Links $Member.Name}}

Subscribe all members of all groups

$Groups = Get-UnifiedGroup
foreach ($Group in $Groups){
$Members = Get-UnifiedGroupLinks -Identity $group.Name -LinkType Members
$Subscribers = Get-UnifiedGroupLinks -Identity $group.name -LinkType Subscribers
foreach ($Member in $Members) {If ($Member.Name -NotIn $Subscribers.Name) { Add-UnifiedGroupLinks -Identity $Group.Name -LinkType Subscribers -Links $Member.Name}}}