SOLVED
Home

How to remove the Welcome Message when a new member joins a group.

%3CLINGO-SUB%20id%3D%22lingo-sub-56573%22%20slang%3D%22en-US%22%3EHow%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-56573%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20moving%20from%20an%20on-premise%20Exchange%202013%20environment%20(using%20Hybrid)%20and%20we%20have%20to%20move%20our%20DLs%20to%20the%20cloud.%20%26nbsp%3BI%20can%20create%20them%20through%20powershell%20as%20a%20distribution%20group%2C%20but%20that%20does%20not%20write%20back%20to%20our%20local%20AD%20(using%20AADConnect).%20%26nbsp%3BSo%20using%20the%20Unified%20Group%20commands%2C%20I%20can%20create%20them%20and%20they%20write%20back.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20problem%20is%20the%20welcome%20message.%20%26nbsp%3BWe%20are%20not%20ready%20for%20users%20to%20use%20the%20extra%20features%20of%20the%20groups%2C%20plus%20we%20have%20users%20that%20are%20a%20part%20of%20several%20hundred%20DLs%2C%20based%20on%20what%20customers%20they%20take%20care%20of.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20see%20the%20attribute%20WelcomeMessageEnabled%2C%20but%20am%20unable%20to%20change%20that%20to%20%24False.%20%26nbsp%3BI%20have%20also%20tried%20using%20mail%20rules%20to%20delete%20the%20message%20based%20on%20content%20in%20subject%20or%20body%2C%20but%20again%20no%20go.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20have%20any%20way%20of%20turning%20these%20off%3F%20%26nbsp%3BThis%20will%20create%20a%20huge%20helpdesk%20and%20support%20nightmare%20if%20I%20can%20not%20turn%20these%20off.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%20Jason.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-56573%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGroups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-254179%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-254179%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20per%20your%20screenshot%2C%20the%20email%20came%20to%20your%20O365%20group.%20Custom%20powershell%20prevents%20sending%20email%20to%20actual%20email.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-215717%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-215717%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEven%20after%20executing%20the%20below%20command%20successfully%20against%20my%20O365%20Group%20-I%20see%20that%20the%20users%20are%20getting%20the%20invite%20email.%20Can%20you%20please%20confirm%20if%20this%20command%20really%20works%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet-UnifiedGroup%20-Identity%20testOGroupB%20-UnifiedGroupWelcomeMessageEnabled%3A%24false%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20%26amp%3B%20Regards%2C%3C%2FP%3E%3CP%3EBhanu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-127194%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-127194%22%20slang%3D%22en-US%22%3E%3CP%3EUnfortunately%20there%20is%20a%20bug%20associated%20with%20this%20parameter%3A%3C%2FP%3E%3CP%3EAfter%20setting%26nbsp%3B-UnifiedGroupWelcomeMessageEnabled%3A%24false%2C%20all%20new%20user%20don't%20get%20the%20standard%20auto%20invitation%20but%20external%20users%20also%20wont%20be%20able%20to%20login%20anymore.%20All%20they%20get%20after%20authenticating%20is%20a%20%22User%20not%20in%20directory%22%20error%2C%20even%20thou%20they%20are%20listed%20correctly%20as%20members%20in%20the%20group%20and%20as%20external%20users%20in%20Admin%20Center.%3C%2FP%3E%3CP%3EIt%20appears%20there%20is%20more%20functionality%20associated%26nbsp%3Bwith%20this%20switch%20then%20just%20sending%20out%20emails.%3C%2FP%3E%3CP%3EThis%20needs%20to%20be%20fixed%20ASAP.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-125835%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-125835%22%20slang%3D%22en-US%22%3E%3CP%3EHere's%20a%20quick%20PowerShell%20script%20I%20threw%20together%20that%20may%20help%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3E%24UserCredential%20%3D%20Get-Credential%0A%0A%24Session%20%3D%20New-PSSession%20-ConfigurationName%20Microsoft.Exchange%20-ConnectionUri%20https%3A%2F%2Foutlook.office365.com%2Fpowershell-liveid%2F%20-Credential%20%24UserCredential%20-Authentication%20Basic%20-AllowRedirection%0A%0AImport-PSSession%20%24Session%0A%0A%23Get%20all%20Office%20365%20Groups%20that%20have%20have%20the%20Welcome%20Message%20enabled%0A%24O365Groups%20%3D%20Get-UnifiedGroup%20%7C%20Where-Object%7B%24_.WelcomeMessageEnabled%20-eq%20%24true%7D%0A%0A%23Iterate%20through%20the%20Groups%2C%20disabling%20the%20Welcome%20Message%0Aforeach%20(%24group%20in%20%24O365Groups)%0A%20%20%20%20%7B%0A%20%20%20%20Write-Host%20%22Disabling%20Welcome%20Message%20on%20O365%20Group%3A%20%22%20-NoNewline%3B%20Write-Host%20%24group.DisplayName%20-ForegroundColor%20Cyan%0A%20%20%20%20Set-UnifiedGroup%20%24group.Identity%20-UnifiedGroupWelcomeMessageEnabled%3A%24false%0A%20%20%20%20%7D%0A%0A%23Close%20the%20Session%0ARemove-PSSession%20%24Session%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20commented%20it%2C%20but%20basically%26nbsp%3Bit%20gathers%20the%20Office%20365%20Groups%20in%20your%20Tenant%20that%20have%20the%20Welcome%20Message%20enabled%20and%20then%20loops%20through%20them%20disabling%20the%20Welcome%20Message.%20You%20can%20run%20this%20as%20needed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20it's%20useful%20for%20someone%20out%20there.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-116456%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-116456%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Brian%2C%20actually%20I%20am%20not%20sure%20if%20you%20can%20do%20multi-groups%20in%20one%20command.%20From%20my%20experience%2C%20you%20need%20to%20set%20it%20for%20each.%20However%2C%20this%20is%20a%20one-time%20setup%2C%20you%20can%20connect%20to%20your%20Exchange%20account%20and%20need%20just%20change%20the%20command%20for%20the%20setup%20each%20time%20by%20entering%26nbsp%3Bone%20after%20the%20other%20group%20name%20and%20run.%26nbsp%3B%3CBR%20%2F%3EMaybe%20somebody%20else%20from%20the%20community%20could%20accomplish%26nbsp%3Bthis%20in%20a%20one-step%20command.%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E-w%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-116350%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-116350%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20this%20be%20done%20across%20the%20board%20for%20all%20groups%20or%20does%20it%20have%20to%20be%20done%20individually%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-93762%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93762%22%20slang%3D%22en-US%22%3E%3CP%3EHere%20is%20how%20I%20did%20switch%20off%2Fon%20the%20new%20group%20member%20welcome%20message.%3CBR%20%2F%3EFirst%20of%20all%2C%20you%20need%20to%20connect%20to%20the%20O365%20Exchange%20Server%20Online.%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20Open%20Windows%20PowerShell%20command%20window%20as%20Administrator%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E2.%20Run%20the%20command%3A%26nbsp%3B%3CSPAN%3E%24UserCredential%20%3D%20Get-Credential%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E3.%20Run%20the%20command%3A%26nbsp%3B%24Session%20%3D%20New-PSSession%20-ConfigurationName%20Microsoft.Exchange%20-ConnectionUri%20%3CA%20href%3D%22https%3A%2F%2Foutlook.office365.com%2Fpowershell-liveid%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foutlook.office365.com%2Fpowershell-liveid%2F%3C%2FA%3E%20-Credential%20%24UserCredential%20-Authentication%20Basic%20-AllowRedirection%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E4.%20Run%20the%20command%3A%26nbsp%3B%26nbsp%3BImport-PSSession%20%24Session%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E5.%26nbsp%3BSet-UnifiedGroup%20%22MyGropuName%22%20-UnifiedGroupWelcomeMessageEnabled%3A%24false%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CBR%20%2F%3E(For%20switching%20on%20the%20Welcome%20message%2C%20the%20same%20command%20but%20%22%24true%22%20%26nbsp%3Bin%20the%20end.)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-93702%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93702%22%20slang%3D%22en-US%22%3E%3CP%3ESuppose%20-UnifiedGroupWelcomeMessageEnabled%20switch%20is%20not%20available%20in%20our%20environment%20and%20we%20cannot%20disable%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20could%20be%20the%20solution%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-91527%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-91527%22%20slang%3D%22en-US%22%3E%3CP%3EWorked%20as%20you%20guided%20-%20thanks%20a%20lot!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-90550%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-90550%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20need%20to%20connect%20to%20ExO%20PowerShell%20first%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fjj984289(v%3Dexchg.160).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fjj984289(v%3Dexchg.160).aspx%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-90459%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-90459%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20exactly%20what%20I%20am%20looking%20for%2C%20just%20to%20confirm%2C%20this%20is%20a%20Cmdlet%20run%20at%20Windows%20PowerShell%20-%20correct%3F%3CBR%20%2F%3EActually%2C%20I%20did%20add%20the%20%22Identify%22%20parameter%20and%20tried%20the%20following%20command%2C%20but%20it%20was%20not%20recognized%20under%20PowerShell%2C%20any%20ideas%20where%20I%20need%20to%20correct%20this%3F%3CBR%20%2F%3EPS%20C%3A%5C%26gt%3B%20Set-UnifiedGroup%20-Identify%20%22MyGroupName%22%20-UnifiedGroupWelcomeMEssageEnable%3A%24false%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%3A%3CBR%20%2F%3ESet-UnifiedGroup%20%3A%20The%20term%20'Set-UnifiedGroup'%20is%20not%20recognized%20as%20the%20name%20of%20a%20cmdlet%2C%20function%2C%20script%20file%2C%20or%3CBR%20%2F%3Eoperable%20program.%20Check%20the%20spelling%20of%20the%20name%2C%20or%20if%20a%20path%20was%20included%2C%20verify%20that%20the%20path%20is%20correct%20and%20try%3CBR%20%2F%3Eagain.%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Set-UnifiedGroup%20-Identify%20%22MyGroupName%22%20-%20...%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20ObjectNotFound%3A%20(Set-UnifiedGroup%3AString)%20%5B%5D%2C%20CommandNotFoundException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20CommandNotFoundException%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-58647%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-58647%22%20slang%3D%22en-US%22%3EThank%20you!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-58200%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-58200%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20in%20the%20process%20of%20updating%20the%20technet%20documentation.%20You%20will%20have%20the%20documentation%20updated%20soon.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-57694%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-57694%22%20slang%3D%22en-US%22%3E%3CP%3ESeems%20it's%20a%20recent%20addition%20indeed.%26nbsp%3BI%20checked%20all%20the%20parameters%20available%20for%20Set-UnifiedGroup%20in%20my%20PowerShell%20session%20before%20posting%20the%20other%20day.%20Anyway%2C%20great%20news%20indeed!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-57604%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-57604%22%20slang%3D%22en-US%22%3E%3CP%3EGreat%20update!%20Did%20this%20parameter%20just%20get%20released%3F%20%26nbsp%3BIt%20is%20not%20currently%20listed%20on%20the%20supporting%20%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fmt238274(v%3Dexchg.160).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Etechnet%20page%3C%2FA%3E%20for%20Set-UnifiedGroup.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-57326%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-57326%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20so%20much%20Siva.%20%26nbsp%3BThat%20worked%20great.%20%26nbsp%3BThis%20will%20help%20tremedously.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJason%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-57267%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-57267%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20use%20the%20following%20command%20to%20suppress%20the%20welcome%20message%26nbsp%3Bfor%20any%20new%20users%20added%20to%20the%20group%20as%20a%20member.%20The%20default%20value%20will%20be%20set%20to%20true%20for%20this%20parameter.%20So%20you%20will%20need%20to%20pass%20%22false%22%20as%20the%20value%20to%20suppress%20the%20welcome%20message.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22margin%3A%200px%3B%20font-family%3A%20'Calibri'%2Csans-serif%3B%20font-size%3A%2011pt%3B%22%3E%3CFONT%20color%3D%22%23000000%22%3ESet-UnifiedGroup%20%3CGROUPNAME%3E%20-UnifiedGroupWelcomeMessageEnabled%3A%24%3CTRUE%3E%3C%2FTRUE%3E%3C%2FGROUPNAME%3E%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22margin%3A%200px%3B%20font-family%3A%20'Calibri'%2Csans-serif%3B%20font-size%3A%2011pt%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-56603%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-56603%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20not%20aware%20of%20any%20method%20to%20bypass%20the%20message.%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67%22%20target%3D%22_blank%22%3E%40Christophe%20Fiessinger%3C%2FA%3E%26nbsp%3Bmight%20be%20able%20to%20help%20or%20take%20some%20feedback%20on%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-741644%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-741644%22%20slang%3D%22en-US%22%3E%3CP%3EKeep%20in%20mind%20all%20of%20the%20other%20services%20tied%20to%20Office%20365%20Unified%20Groups%20that%20generate%20these%20emails%20as%20well.%20It%20should%20be%20accounted%20for%20as%20a%20part%20of%20any%20Governance%2FProvisioning%20strategy%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3EMicrosoft%20SharePoint%20(Office%20365%20Group-Enabled%20Team%20Sites)%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMicrosoft%20Teams%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMicrosoft%20Stream%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMicrosoft%20Power%20BI%20(Legacy%20work%20spaces)%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMicrosoft%20Planner%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMicrosoft%20Exchange%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EMicrosoft%20Yammer%3C%2FSTRONG%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.technologytobusiness.com%2Fmicrosoft-office-365%2Fdisable-welcome-message-for-office-365-unified-groups%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDisable%20Welcome%20Message%20for%20Office%20365%20Unified%20Groups%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-804035%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-804035%22%20slang%3D%22en-US%22%3EWhy%20is%20this%20still%20only%20possible%20in%20PowerShell%3F%20We%20need%20a%20graph%20endpoint%20for%20this%20please.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1070277%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1070277%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F93646%22%20target%3D%22_blank%22%3E%40Ramiro%20Melgoza%3C%2FA%3E%26nbsp%3B%20Do%20I%20need%20to%20be%20owner%20of%20this%20Group%20for%20the%20command%20to%20work%3F%20or%20just%20any%20Global%20Admin%20should%20be%20able%20to%20run%20this%20command%3F%20I%20just%20tried%20to%20run%20it%20with%20my%20Global%20Admin%20and%20it%20doesn't%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1070278%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1070278%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7703%22%20target%3D%22_blank%22%3E%40Siva%20Shanmugam%3C%2FA%3E%26nbsp%3B%26nbsp%3BIs%20this%20working%20on%20Non-Profit%20and%20GOV%20tenants%20as%20well%20%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1070284%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1070284%22%20slang%3D%22en-US%22%3EI%20had%20to%20create%20a%20mail%20flow%20rule%20to%20block%20these%20because%20this%20command%20listed%20as%20a%20solution%20below%20didn't%20turn%20anything%20off%20for%20my%20tenant%20unless%20someone%20can%20tell%20me%20it%20takes%2024hrs%20for%20the%20command%20to%20work.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1099888%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20remove%20the%20Welcome%20Message%20when%20a%20new%20member%20joins%20a%20group.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1099888%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F7703%22%20target%3D%22_blank%22%3E%40Siva%20Shanmugam%3C%2FA%3E%26nbsp%3BIs%20it%20possible%20to%20set%20this%20command%20for%20any%2Fall%20groups%20both%20present%20and%20future.%20There%20is%20no%20way%20to%20do%20this%20with%20a%20newly%20created%20dynamic%20group%20prior%20to%20the%20notification%20being%20sent%20out.%20I%20can%20only%20disable%20it%20after%20the%20fact%20for%20any%20new%20members%20that%20get%20added%20to%20the%20group.%20Right%20now%20the%20only%20workaround%20is%20to%20first%20the%20create%20the%20group%20as%20an%20assigned%20member%20group%2C%20then%20disable%20the%20notification%20email%2C%20then%20go%20back%20in%20and%20convert%20it%20to%20a%20dynamic%20group%20and%20add%20members%20through%20a%20rule%20set.%20Also%2C%20there's%20no%20way%20to%20adjust%20the%20privacy%20settings%20when%20creating%20a%20group%20in%20AAD%20and%20they%20can't%20be%20set%20after%20the%20group%20is%20created.%20Currently%20you%20have%20to%20create%20the%20group%20through%20the%20web%20admin%20portal%20for%20O365%20to%20even%20be%20able%20to%20see%20the%20option%20to%20change%20the%20privacy%20settings%20on%20the%20group%20when%20creating%20it.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Jason Hopp
Occasional Contributor

We are moving from an on-premise Exchange 2013 environment (using Hybrid) and we have to move our DLs to the cloud.  I can create them through powershell as a distribution group, but that does not write back to our local AD (using AADConnect).  So using the Unified Group commands, I can create them and they write back.

 

The problem is the welcome message.  We are not ready for users to use the extra features of the groups, plus we have users that are a part of several hundred DLs, based on what customers they take care of.  

 

I see the attribute WelcomeMessageEnabled, but am unable to change that to $False.  I have also tried using mail rules to delete the message based on content in subject or body, but again no go.

 

Does anyone have any way of turning these off?  This will create a huge helpdesk and support nightmare if I can not turn these off.

 

Thanks, Jason.

24 Replies
Highlighted

I'm not aware of any method to bypass the message. @Christophe Fiessinger might be able to help or take some feedback on this.

Highlighted
Solution

You can use the following command to suppress the welcome message for any new users added to the group as a member. The default value will be set to true for this parameter. So you will need to pass "false" as the value to suppress the welcome message.

 

Set-UnifiedGroup <groupname> -UnifiedGroupWelcomeMessageEnabled:$<true/false>

 

 

Highlighted

Thank you so much Siva.  That worked great.  This will help tremedously. 

 

Jason

Highlighted

Great update! Did this parameter just get released?  It is not currently listed on the supporting technet page for Set-UnifiedGroup. 

Highlighted

Seems it's a recent addition indeed. I checked all the parameters available for Set-UnifiedGroup in my PowerShell session before posting the other day. Anyway, great news indeed!

Highlighted

We are in the process of updating the technet documentation. You will have the documentation updated soon.

Highlighted
Highlighted

This is exactly what I am looking for, just to confirm, this is a Cmdlet run at Windows PowerShell - correct?
Actually, I did add the "Identify" parameter and tried the following command, but it was not recognized under PowerShell, any ideas where I need to correct this?
PS C:\> Set-UnifiedGroup -Identify "MyGroupName" -UnifiedGroupWelcomeMEssageEnable:$false

 

Error:
Set-UnifiedGroup : The term 'Set-UnifiedGroup' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Set-UnifiedGroup -Identify "MyGroupName" - ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-UnifiedGroup:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Highlighted
Highlighted

Worked as you guided - thanks a lot!

Highlighted

Suppose -UnifiedGroupWelcomeMessageEnabled switch is not available in our environment and we cannot disable it.

 

What could be the solution ?

Highlighted

Here is how I did switch off/on the new group member welcome message.
First of all, you need to connect to the O365 Exchange Server Online.

1. Open Windows PowerShell command window as Administrator

2. Run the command: $UserCredential = Get-Credential

3. Run the command: $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

 

4. Run the command:  Import-PSSession $Session

 

5. Set-UnifiedGroup "MyGropuName" -UnifiedGroupWelcomeMessageEnabled:$false


(For switching on the Welcome message, the same command but "$true"  in the end.)

 

 

Highlighted

Can this be done across the board for all groups or does it have to be done individually?

Highlighted

Hi Brian, actually I am not sure if you can do multi-groups in one command. From my experience, you need to set it for each. However, this is a one-time setup, you can connect to your Exchange account and need just change the command for the setup each time by entering one after the other group name and run. 
Maybe somebody else from the community could accomplish this in a one-step command.

Thanks

-w

Highlighted

Here's a quick PowerShell script I threw together that may help:

 

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session

#Get all Office 365 Groups that have have the Welcome Message enabled
$O365Groups = Get-UnifiedGroup | Where-Object{$_.WelcomeMessageEnabled -eq $true}

#Iterate through the Groups, disabling the Welcome Message
foreach ($group in $O365Groups)
    {
    Write-Host "Disabling Welcome Message on O365 Group: " -NoNewline; Write-Host $group.DisplayName -ForegroundColor Cyan
    Set-UnifiedGroup $group.Identity -UnifiedGroupWelcomeMessageEnabled:$false
    }

#Close the Session
Remove-PSSession $Session

 

I've commented it, but basically it gathers the Office 365 Groups in your Tenant that have the Welcome Message enabled and then loops through them disabling the Welcome Message. You can run this as needed.

 

Hope it's useful for someone out there. :)

Highlighted

Unfortunately there is a bug associated with this parameter:

After setting -UnifiedGroupWelcomeMessageEnabled:$false, all new user don't get the standard auto invitation but external users also wont be able to login anymore. All they get after authenticating is a "User not in directory" error, even thou they are listed correctly as members in the group and as external users in Admin Center.

It appears there is more functionality associated with this switch then just sending out emails.

This needs to be fixed ASAP.

Highlighted

Hello Everyone,

 

Even after executing the below command successfully against my O365 Group -I see that the users are getting the invite email. Can you please confirm if this command really works

 

Set-UnifiedGroup -Identity testOGroupB -UnifiedGroupWelcomeMessageEnabled:$false

 

 

Thanks & Regards,

Bhanu

Highlighted

As per your screenshot, the email came to your O365 group. Custom powershell prevents sending email to actual email.

Highlighted

Keep in mind all of the other services tied to Office 365 Unified Groups that generate these emails as well. It should be accounted for as a part of any Governance/Provisioning strategy:

  • Microsoft SharePoint (Office 365 Group-Enabled Team Sites)
  • Microsoft Teams
  • Microsoft Stream
  • Microsoft Power BI (Legacy work spaces)
  • Microsoft Planner
  • Microsoft Exchange
  • Microsoft Yammer

Disable Welcome Message for Office 365 Unified Groups 

Highlighted
Why is this still only possible in PowerShell? We need a graph endpoint for this please.
Highlighted

@Ramiro Melgoza  Do I need to be owner of this Group for the command to work? or just any Global Admin should be able to run this command? I just tried to run it with my Global Admin and it doesn't work.

Highlighted

@Siva Shanmugam  Is this working on Non-Profit and GOV tenants as well ? 

Highlighted
I had to create a mail flow rule to block these because this command listed as a solution below didn't turn anything off for my tenant unless someone can tell me it takes 24hrs for the command to work.
Highlighted

@Siva Shanmugam Is it possible to set this command for any/all groups both present and future. There is no way to do this with a newly created dynamic group prior to the notification being sent out. I can only disable it after the fact for any new members that get added to the group. Right now the only workaround is to first the create the group as an assigned member group, then disable the notification email, then go back in and convert it to a dynamic group and add members through a rule set. Also, there's no way to adjust the privacy settings when creating a group in AAD and they can't be set after the group is created. Currently you have to create the group through the web admin portal for O365 to even be able to see the option to change the privacy settings on the group when creating it.