Use PowerShell to enable 'Send copies of group conversations and events to group members' on a dynamic O365 group

Mark-3345 30 Reputation points
2024-05-23T20:54:43.1533333+00:00

I have done quite a bit of researching and asking 'Co-Pilot' without any luck. Essentially, I want to do what the title says, which is: Enable 'Send copies of group conversations and events to group members' for the specified group using PowerShell. The groups are all Dynamic User Microsoft 365 groups that were created in the Azure Portal.

Here is the PowerShell script that I used:

$groupName = "group1"  
Set-UnifiedGroup $groupName -AutoSubscribeNewMembers

I have also tried this iteration of the script:

$groupName = "group1"  
Set-UnifiedGroup -Identity $groupName -AutoSubscribeNewMembers: $true

When running the script, I get the output:
"WARNING: The command completed successfully but no settings of 'group1_asdfag-afga-sdfa-fgaeasdff' have been modified.".

When looking at the group in Exchange, I see that the box labelled 'Send copies of group conversations and events to group members' is still not enabled.User's image

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,188 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
435 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,256 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Mark-3345 30 Reputation points
    2024-05-23T22:02:48.55+00:00

    Looks like I'm an idiot. After about an hour the group updated to reflect the changes. Both scripts worked but I wasn't waiting long enough to verify.

    1 person found this answer helpful.

  2. Fabian-Campo 1 Reputation point
    2024-05-23T22:19:23.37+00:00

    It's good to hear that

    0 comments No comments

  3. Bruce Jing-MSFT 1,995 Reputation points Microsoft Vendor
    2024-05-24T02:06:05.63+00:00

    Hi,@Mark-3345

    Thanks for posting your question in the Microsoft Q&A forum.

    Great to know that the issue has already been resolved and thanks for sharing the solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer : )     

    --------------   

    Issue Symptom: 

    Customer use PowerShell to enable 'Send copies of group conversations and events to group members' on a dynamic O365 group. Although the command completed successfully, the settings have not been changed.

    Set-UnifiedGroup $groupName -AutoSubscribeNewMembers

     

    Resolution: 

    Theoretically, running the cmdlet takes effect immediately, but customers are advised to wait for some time.