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>”. 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.

$GroupId = "[email protected]"

#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 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.

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!

One thought on “Office 365 Group: How to Disable Welcome Email for new members?

  • 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.


Leave a Reply

Your email address will not be published.