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
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.
- Victor_IvanidzeJul 30, 2020Bronze Contributor
Hi Pat Sullivan
I don't catch your point. You can assign a person who is creating the group permission to run the PowerShell command, correct?