Office 365 Group: How to Disable Welcome Email for new members?

Requirement: Turn-Off the Welcome Email in a Microsoft 365 Group.

How to disable the welcome email for Office 365 Group?

When a new user is added to Microsoft 365 group, they will receive an email with the subject “You’ve joined the <Team Name>”. Welcome emails are a useful feature in Office 365 that allow group owners to send a message to new members when they join a group. However, there may be situations where you want to disable this feature. For example, you may want to turn off welcome emails if you are adding a large number of members to a group and do not want to flood their inboxes with unnecessary emails.

In our case, On migrating to Office 365 group, we wanted to turn off the welcome email from an Office 365 group. So, Here is the PowerShell script to disable welcome messages in Office 365 groups. I’m assuming you have Microsoft Exchange Online PowerShell Module installed (If not, do: Install-Module ExchangeOnlineManagement), and you are running this as Global Admin or Exchange Online Administrator.

#Parameters
$GroupId = "hrteam@CrescentIntranet.com"

#Connect to Exchange Online
Connect-ExchangeOnline -Credential (Get-Credential)

#Disable the Group Welcome Message Email
Set-UnifiedGroup -Identity $GroupId -UnifiedGroupWelcomeMessageEnabled:$false

That’s all! Any new user added to the group will not receive a welcome email from now on.

Disable the welcome email for all Office 365 Groups

What if you want to prevent welcome emails from being sent out for all Office 365 Groups in the environment?

#Connect to Exchange Online
Connect-ExchangeOnline -Credential (Get-Credential)

#Get All Groups where Welcome Email is enabled
$WelcomeEmailGroups = Get-UnifiedGroup | Where-Object { $_.WelcomeMessageEnabled -eq $True }

#Disable Welcome Email
ForEach($Group in $WelcomeEmailGroups) 
{
    #Disable the Group Welcome Message Email
    Set-UnifiedGroup -Identity $Group.Id -UnifiedGroupWelcomeMessageEnabled:$false
    Write-host "Welcome Email Disabled for the Group:"$Group.PrimarySmtpAddress
}

This script disables the welcome message for Office 365 unified group wherever it’s enabled. Other than the welcome Email, we may have few more notifications from the group! To disable all of them, use the following:

Set-UnifiedGroup $Group.Id -AlwaysSubscribeMembersToCalendarEvents:$false -AutoSubscribeNewMembers:$false -SubscriptionEnabled:$false -UnifiedGroupWelcomeMessageEnabled:$false

Conclusion

In conclusion, it is easy to disable welcome emails in an Office 365 group. By following the steps outlined in this tutorial, you can turn off this feature for a particular group or for all groups in your organization. Disabling welcome emails can be useful in situations where you want to prevent new members from being inundated with emails or where you do not want welcome messages to be sent at all.

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

5 thoughts on “Office 365 Group: How to Disable Welcome Email for new members?

  • the 1st one will not work with new groups. as soon as you click Create and the group completion is done the email goes out. The second one SHOULD remove from current groups and all future groups created

    Reply
  • The script run correctly but output was not helpful as expected! my users received as well the welcome mail notification

    Reply
  • This has worked for me in the past but applying these commands this morning to a new client and it failed a test. I received a welcome email. Went back to check the group status and sure enough it is set to FALSE. Could be a service health issue but wondering if anyone else is experiencing issues. Thanks for the scripts!

    Reply
    • Hi Scott. What is the syntax for checking the group status once you have set it?

      Reply
  • Thanks Salaudeen for the explanation. Did this work for you? DId users really did not get a Welcome Mail after you changed this setting? It did not work for us.
    Thanks,
    Franck

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *