Forum Discussion
Turning off email notifications for Office 365 Groups
rpdodds Hello, there are several options to choose from when using the Set-UnifiedGroup cmdlet.
For example.
-UnifiedGroupWelcomeMessageEnabled
-HiddenFromAddressListsEnabled
-HiddenFromExchangeClientsEnabled
-AlwaysSubscribeMembersToCalendarEvents
-AutoSubscribeNewMembers
See this for details about the switches
https://docs.microsoft.com/en-us/powershell/module/exchange/set-unifiedgroup?view=exchange-ps
- rpdoddsJul 03, 2020Copper Contributor
ChristianBergstrom Thanks!
So if I use:
Set-UnifiedGroup "New O365 Group for Intranet" -AlwaysSubscribeMembersToCalendarEvents:$false -AutoSubscribeNewMembers:$false -HiddenFromAddressListsEnabled:$true -HiddenFromExchangeClientsEnabled -ModerationEnabled:$true -ModeratedBy:poweruser1@domain.com,poweruser2@domain.com,poweruser3@domain.com -SubscriptionEnabled:$false -UnifiedGroupWelcomeMessageEnabled:$false
I'm effectively turning off ALL notification emails to members personal inboxes, hiding it from Outlook/OWA, hiding it from address book/people searches, and setting it so emails to the group or calendar events created in the group have to be approved by powerusers 1, 2 or 3. Is that right?
If I'm going to create 30 odd new groups, should I create the groups first, then run this command and add members last?
- rpdoddsJul 03, 2020Copper Contributor
Also ChristianBergstrom, I've just noticed that the -AlwaysSubscribeMembersToCalendarEvents:$false switch only sets it to "Replies Only" which I assume is the equivalent to "Only replies to you" in my second screenshot. That is disappointing that it's not "No email or events".
Do you know if there's a way to set that?
- ChristianBergstromJul 03, 2020Silver Contributor
rpdodds Hello again, just a heads up that the -AutoSubscribeNewMembers switch overrides the -AlwaysSubscribeMembersToCalendarEvents.
As you're working on a 'lockdown' perhaps you should use the -SubscriptionEnabled switch instead.
"The SubscriptionEnabled switch specifies whether subscriptions to conversations and calendar events are enabled for the Microsoft 365 Group."
As for the expected results I'm afraid you have to do your own testing. But now you have the tools you need so enjoy and good luck!
- rpdoddsJul 08, 2020Copper Contributor
I used PowerShell to create 24 new groups and have used the various switches to essentially silence them. What I've noticed though is that the Unified Groups created via PowerShell do NOT get a SharePoint site created and associated with them.
So how can I create a bunch of new Sharepoint Sites and link those to the EXISTING groups (as opposed to creating a new Sharepoint Site and linking it to a new O365 group as many web guides say to do)?
Do the sites I create HAVE to be a modern site to be able to link to an O365 Group or can I use something like a Document Center site and link it to the corresponding existing O365 Group I created with PowerShell?