Home

Microsoft Teams Group Disable from Exchange Clients

%3CLINGO-SUB%20id%3D%22lingo-sub-200449%22%20slang%3D%22en-US%22%3EMicrosoft%20Teams%20Group%20Disable%20from%20Exchange%20Clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-200449%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20query%20regarding%20the%20groups%20created%20either%20from%20Teams%2C%20Planner%20or%20from%20Power%20BI%20can%20be%20disabled%20from%20Exchange%20Clients%20using%20the%20following%20commands%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet-UnifiedGroup%20-Identity%20%24_.Identity%20-HiddenFromExchangeClientsEnabled%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20If%20you%20want%20to%20disable%20the%20same%20it%20comes%20an%20error.%3C%2FP%3E%3CP%3EPlease%20need%20some%20assistance%20in%20this%20query!!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-200449%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%20Cmdlets%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201455%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20Group%20Disable%20from%20Exchange%20Clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201455%22%20slang%3D%22en-US%22%3E%3CP%3EAbsolutely%20Correct!%20It's%20a%20simple%20parameter%20which%20i%20was%20missing%20Thank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201236%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20Group%20Disable%20from%20Exchange%20Clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201236%22%20slang%3D%22en-US%22%3E%3CP%3EAnd%20I%20told%20you%20how%20to%20solve%20the%20error...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20case%20it%20wasn't%20clear%20-%20you%20need%20to%20remove%20the%20space%20between%20-HiddenFromExchangeClientsEnabled%20and%20%24False%2C%20and%20replace%20it%20with%20a%20semicolon%20-HiddenFromExchangeClientsEnabled%3A%24False%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201214%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20Group%20Disable%20from%20Exchange%20Clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201214%22%20slang%3D%22en-US%22%3EGood%20One%20%40Vasil!%20But%20this%20command%20%E2%80%9CSet-UnifiedGroup%20-Identity%20%E2%80%9Cgroupid%E2%80%9D%20-HiddenFromExchangeClientsEnabled%20%24False%E2%80%9D%20is%20giving%20an%20error%20as%20you%20can%20see%20my%20screenshot%20attached%20within%20this%20post!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-201213%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20Group%20Disable%20from%20Exchange%20Clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-201213%22%20slang%3D%22en-US%22%3EHello%20Juan%2C%3CBR%20%2F%3EThank%20you%20for%20the%20response%20but%20as%20you%20can%20see%20I%20have%20asked%20about%20the%20invisible%20groups%20which%20is%20hidden%20from%20Exchange%20Clients.%20I%20have%20already%20done%20the%20command%20to%20display%20all%20Groups%20through%20%E2%80%9CGet-UnifiedGroup%20%7C%20select%20DisplayName%2C%20PrimarySmtpAddress%20%7C%20Ft%E2%80%9D%3CBR%20%2F%3E%3CBR%20%2F%3EI%20want%20to%20bring%20back%20my%20group%20which%20is%20hidden%20from%20Exchange%20Clients%20App!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-200582%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20Group%20Disable%20from%20Exchange%20Clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-200582%22%20slang%3D%22en-US%22%3E%3CP%3EThat's%20because%20it's%20a%20switch%20parameter.%20Try%20this%20instead%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESet-UnifiedGroup%20SharePoint%20-HiddenFromExchangeClientsEnabled%3A%24false%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-200466%22%20slang%3D%22en-US%22%3ERe%3A%20Microsoft%20Teams%20Group%20Disable%20from%20Exchange%20Clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-200466%22%20slang%3D%22en-US%22%3EWhy%20don't%20you%20use%20the%20Get-UnifiedGroup%20to%20get%20all%20your%20Groups%20and%20then%20for%20each%20Group%20just%20apply%20the%20HiddenFromExchangeGlientsEnabled%3C%2FLINGO-BODY%3E
Frequent Contributor

Hi All,

 

A query regarding the groups created either from Teams, Planner or from Power BI can be disabled from Exchange Clients using the following commands :

 

Set-UnifiedGroup -Identity $_.Identity -HiddenFromExchangeClientsEnabled

 

But If you want to disable the same it comes an error.

Please need some assistance in this query!!

6 Replies
Why don't you use the Get-UnifiedGroup to get all your Groups and then for each Group just apply the HiddenFromExchangeGlientsEnabled

That's because it's a switch parameter. Try this instead:

 

Set-UnifiedGroup SharePoint -HiddenFromExchangeClientsEnabled:$false

Hello Juan,
Thank you for the response but as you can see I have asked about the invisible groups which is hidden from Exchange Clients. I have already done the command to display all Groups through “Get-UnifiedGroup | select DisplayName, PrimarySmtpAddress | Ft”

I want to bring back my group which is hidden from Exchange Clients App!!
Good One @Vasil! But this command “Set-UnifiedGroup -Identity “groupid” -HiddenFromExchangeClientsEnabled $False” is giving an error as you can see my screenshot attached within this post!
Highlighted

And I told you how to solve the error...

 

In case it wasn't clear - you need to remove the space between -HiddenFromExchangeClientsEnabled and $False, and replace it with a semicolon -HiddenFromExchangeClientsEnabled:$False

Absolutely Correct! It's a simple parameter which i was missing Thank you @Vasil Michev

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies