Forum Discussion
Add Office365 Group Member without Email Notification
- Sep 06, 2018
Hey Tammy Emond,
I think I should be able to help you out!
There is not a way to my knowledge to do this in outlook or the O365 GUI, but there is a way to do this in Powershell.In Powershell O365 groups use the commands that are around "unified groups," which was an old name for what became O365 Groups. There is an attribute in there that is called a welcome message.
So for each group you wanted to do this on, you would need to run the following in Exchange Online Powershell.
Set-UnifiedGroup <groupname> -UnifiedGroupWelcomeMessageEnabled $false
To turn it back on, just pass the same command with $true
Adam
Hey Tammy Emond,
I think I should be able to help you out!
There is not a way to my knowledge to do this in outlook or the O365 GUI, but there is a way to do this in Powershell.
In Powershell O365 groups use the commands that are around "unified groups," which was an old name for what became O365 Groups. There is an attribute in there that is called a welcome message.
So for each group you wanted to do this on, you would need to run the following in Exchange Online Powershell.
Set-UnifiedGroup <groupname> -UnifiedGroupWelcomeMessageEnabled $false
To turn it back on, just pass the same command with $true
Adam
- alldayipasAug 20, 2020Copper Contributor
Just want to clarify this command and how it's written here; it should appear as:
Set-UnifiedGroup <groupname> -UnifiedGroupWelcomeMessageEnabled:$false
The : was missing between Enabled and $false. After that it worked perfectly.Thank you!
- mpartonFeb 27, 2023Copper ContributorI know this is an old thread but, if anyone is still monitoring it or sees this...
If I use the opposite of this, in other words, set -UnifiedGroupWelcomeMessageEnabled:$true, for a Mail-enabled Security Group (or any Security Group) in Microsoft 365, will that force email notification to the members added that they have been added? This is the behavior I want.
- David WissmanApr 30, 2020Copper Contributor
Adam Ochs, can this script or something similar be set so that all new dynamic groups will not send out an email?
- Victor_IvanidzeMay 01, 2020Bronze Contributor
just execute the above PowerShell commandlet immediately after creating a group - what's the problem?
- Pat SullivanJul 29, 2020Brass Contributor
Victor_Ivanidze The "problem" is that the person who is creating the group may not have permissions to run the powershell command for exchange online / unifed groups. So now you've involved two staff and added a delay to the process of creating a group. I want a way to change the default behavior globally.
- Tammy EmondSep 06, 2018Copper Contributor
Thanks Adam! I was hoping to be able to do this without using Powershell. I see that this has already been suggested to MS, so here's hoping they come up with a simple solution (like a checkbox?)...