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 

Microsoft Teams Welcome email

Reference:

Exchange PowerShell - Set-UnifiedGroup
https://learn.microsoft.com/en-us/powershell/module/exchange/set-unifiedgroup

Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Saturday, 23 September 2023
You can help support this website by buying me a coffee!
Buy Me A Coffee