How to disable the Microsoft Teams welcome message for Office 365 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
Reference:
by Author
Exchange PowerShell - Set-UnifiedGroup
https://learn.microsoft.com/en-us/powershell/module/exchange/set-unifiedgroup
Comments