1 minute reading time
(129 words)
Disable the Welcome email for Teams (M365 groups) using PowerShell Set-UnifiedGroup
How to disable the Microsoft Teams welcome message for Office 365 groups using PowerShell Set-UnifiedGroup
Disable the Welcome email for M365 groups using PowerShell Set-UnifiedGroup
To disable the Microsoft Teams welcome message, run the Set-UnifiedGroup PowerShell with the UnifiedGroupWelcomeMessageEnabled$false option
# Connect to Exchange Online Connect-ExchangeOnline -UserPrincipalName admin@yourdomain.com # Define variable for M365 group name $GroupName = "Sales Team" # Disable the welcome message Set-UnifiedGroup -Identity $GroupName -UnifiedGroupWelcomeMessageEnabled:$false # Check if welcome message enabled Get-UnifiedGroup -Identity $GroupName | Select-Object Name, DisplayName, PrimarySmtpAddress, WelcomeMessageEnabled
Sometimes in Office 365, things happen on "cloud time" and new settings don't always work straight away. I'd recommend waiting 1-2 hours for this setting to take effect before adding people to the group.
Microsoft Teams Welcome email
Reference:
by Author
Exchange PowerShell - Set-UnifiedGroup
https://learn.microsoft.com/en-us/powershell/module/exchange/set-unifiedgroup
Comments