SOLVED

Restrict Emailing to Yammer Public Groups

%3CLINGO-SUB%20id%3D%22lingo-sub-1797175%22%20slang%3D%22en-US%22%3ERestrict%20Emailing%20to%20Yammer%20Public%20Groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1797175%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%20I%20wanted%20to%20know%20if%20anyone%20has%20had%20a%20situation%20where%20they%20need%20to%20restrict%20emailing%20to%20public%20yammer%20groups%3F%26nbsp%3B%20We%20are%20running%20into%20an%20issue%20where%20users%20are%20not%20realizing%20that%20since%20Yammer%20is%20connect%20o%20M365%20Groups%20now%20that%20when%20they%20search%20the%20GAL%20they%20are%20pulling%20in%20all%20Groups%20and%20we%20have%20seen%20people%20emailing%20sensitive%20docs%20to%20public%20Yammer%20groups.%20Does%20anyone%20have%20any%20suggestions%20for%20governance%20around%20this%3F%20We%20are%20in%20the%20New%20Yammer%20preview%20mode%20currently%20where%20you%20can%20still%20toggle%20back%20to%20Classic%20Yammer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20turning%20%22Require%20all%20users%20in%20your%20network%20to%20confirm%20their%20messages%20posted%20via%20email%20before%20posting%22%20but%20this%20honestly%20did%20not%20do%20anything.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20greatly%20appreciated.%26nbsp%3B%20Thank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1797175%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAdoption%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBest%20Practice%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1803153%22%20slang%3D%22en-US%22%3ERe%3A%20Restrict%20Emailing%20to%20Yammer%20Public%20Groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1803153%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F185103%22%20target%3D%22_blank%22%3E%40Ethan%20Stern%3C%2FA%3E%26nbsp%3BYou%20can%20set%20the%20Office%20365%20groups%20to%20be%20hidden%20from%20Outlook%2C%20that%20way%20people%20cant%20see%20them%20on%20the%20GAL%20and%20email%20them.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20Exchange%20PowerShell%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22crayon-r%20%22%3ESet%3C%2FSPAN%3E%3CSPAN%20class%3D%22crayon-cn%22%3E-UnifiedGroup%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22crayon-cn%22%3E-Identity%3C%2FSPAN%3E%26nbsp%3B%3CYAMMER%20group%3D%22%22%20name%3D%22%22%3E%26nbsp%3B%3CSPAN%20class%3D%22crayon-cn%22%3E-HiddenFromExchangeClientsEnabled%3C%2FSPAN%3E%3CSPAN%20class%3D%22crayon-o%22%3E%3A%3C%2FSPAN%3E%3CSPAN%20class%3D%22crayon-v%22%3E%24True%3C%2FSPAN%3E%3C%2FYAMMER%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1803987%22%20slang%3D%22en-US%22%3ERe%3A%20Restrict%20Emailing%20to%20Yammer%20Public%20Groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1803987%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F205691%22%20target%3D%22_blank%22%3E%40AndrewT%3C%2FA%3E%26nbsp%3BMuch%20appreciated%2C%20Andrew!%26nbsp%3B%20I%20should%20elaborate%20-%20I%20am%20looking%20some%20something%20that%20is%20automatic%20to%20implement.%26nbsp%3B%20We%20have%20hundreds%20of%20Yammer%20groups...and%20we%20would%20need%20something%20that%20does%20this%20upon%20creation%20because%20users%20are%20spinning%20up%20new%20groups%20daily.%26nbsp%3B%20I%20just%20wondered%20if%20anyone%20else%20has%20an%20option%20they%20were%20using%20for%20governance%20since%20connected%20Yammer%20groups%20show%20up%2Fclutter%20the%20GAL.%26nbsp%3B%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1804749%22%20slang%3D%22en-US%22%3ERe%3A%20Restrict%20Emailing%20to%20Yammer%20Public%20Groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1804749%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F185103%22%20target%3D%22_blank%22%3E%40Ethan%20Stern%3C%2FA%3E%26nbsp%3BHi%20Ethan%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETotally%20agree%20that%20this%20should%20be%20the%20default%20option!%20I%20think%20it's%20an%20oversight%20from%20Microsoft%20that%20they%20are%20viable%20by%20default.%20I%20can't%20think%20of%20a%20strong%20reason%20you%20would%20want%20to%20email%20members%20of%20a%20Yammer%20community%20when%20you%20could%20post%20it%20in%20Yammer!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20use%20PowerShell%20to%20apply%20this%20to%20all%20M365%20groups%20created%20for%20Yammer%20communities%2C%20but%20as%20you%20say%20this%20will%20not%20apply%20to%20any%20new%20communities%2C%20you%20could%20setup%20up%20something%20like%20a%20scheduled%20task%20to%20run%20this%20regularly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EGet-UnifiedGroup%20-ResultSize%20Unlimited%7C%3F%7B%24_.GroupSku%20-eq%20%22Yammer%22%7D%20%7CSet-UnifiedGroup%20-HiddenFromExchangeClientsEnabled%3A%24true%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdit%3A%20I%20have%20created%20in%20Idea%20on%20%3CA%20href%3D%22https%3A%2F%2Fyammer.uservoice.com%2Fforums%2F399627-yammer%2Fsuggestions%2F41699866-prevent-users-from-emailing-connected-m365-groups%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EUserVoice%3C%2FA%3E%20for%20us%20to%20provide%20this%20feedback%20to%20the%20product%20team.%20Everyone%20who%20agrees%20with%20us%20please%20go%20and%20vote%20on%20it%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi all, I wanted to know if anyone has had a situation where they need to restrict emailing to public yammer groups?  We are running into an issue where users are not realizing that since Yammer is connect o M365 Groups now that when they search the GAL they are pulling in all Groups and we have seen people emailing sensitive docs to public Yammer groups. Does anyone have any suggestions for governance around this? We are in the New Yammer preview mode currently where you can still toggle back to Classic Yammer.

 

I tried turning "Require all users in your network to confirm their messages posted via email before posting" but this honestly did not do anything.

 

Any help would be greatly appreciated.  Thank you.

4 Replies

@Ethan Stern You can set the Office 365 groups to be hidden from Outlook, that way people cant see them on the GAL and email them.

 

In the Exchange PowerShell

Set-UnifiedGroup -Identity <Yammer Group Name> -HiddenFromExchangeClientsEnabled:$True

@AndrewT Much appreciated, Andrew!  I should elaborate - I am looking some something that is automatic to implement.  We have hundreds of Yammer groups...and we would need something that does this upon creation because users are spinning up new groups daily.  I just wondered if anyone else has an option they were using for governance since connected Yammer groups show up/clutter the GAL.  Thanks!

best response confirmed by Ethan Stern (Frequent Contributor)
Solution

@Ethan Stern Hi Ethan

 

Totally agree that this should be the default option! I think it's an oversight from Microsoft that they are viable by default. I can't think of a strong reason you would want to email members of a Yammer community when you could post it in Yammer!

 

You can use PowerShell to apply this to all M365 groups created for Yammer communities, but as you say this will not apply to any new communities, you could setup up something like a scheduled task to run this regularly.

 

 

Get-UnifiedGroup -ResultSize Unlimited|?{$_.GroupSku -eq "Yammer"} |Set-UnifiedGroup -HiddenFromExchangeClientsEnabled:$true

 

 

Edit: I have created in Idea on UserVoice for us to provide this feedback to the product team. Everyone who agrees with us please go and vote on it :)

@AndrewT Thanks, Andrew- good to know someone agrees with me LOL!  Much appreciated.  You are right, for now we can run that to capture any new Yammer groups and hide them from the GAL... from a governance perspective it would be awesome to have this as a feature.  Thank you for creating the UserVoice.