Forum Discussion
Hiding Office 365 Groups Created by Teams from Exchange Clients
Teams now hides the Office 365 Groups that it creates from Exchange clients (Outlook, OWA, and the mobile apps). That’s as it should be for groups created for new teams. If you want to hide groups created for older teams, you can run the Set-UnifiedGroup cmdlet, but that soon becomes boring when you might have hundreds of groups to process. PowerShell to the rescue once again.
https://www.petri.com/hiding-office-365-groups-exchange-clients
Hm, so am I to assume that it actually works for you? None of the Teams I toggled the flags for have disappeared from either Outlook and OWA. And while Outlook can be excused as I'm on the deferred channel, shouldn't OWA at least be aware of the flags? Sigh...
P.S. Ordered hash tables and such, color me impressed :)
As I say in the piece, the change is rolling out... and while the change is effective in the back-end (i.e. you can set groups to be hidden from Exchange clients now), some client updates are also necessary. These will come in OWA and Outlook (to respect the flag) and Teams (to set the flag). Don't be so impatient.
As to ordered hash tables, I used these a lot to capture Office 365 data with PowerShell. Once in the hash table, you can do so much with data... as proven here.
This seems to be live now, both in OWA and Outlook (9126.2152).
- Ivan54Bronze ContributorI get the idea or desire to hide groups created by teams, but there is one thing I'm missing in that scenario that works with email, but currently doesn't with teams.
How do I contact a group that I'm not a member of ? This works in an email/distribution list scenario, but I haven't figured it out in Teams.Teams doesn't appear in an address list like other mail-enabled objects unless its Office 365 Group is not hidden from the lists, so it is hard to know when private teams are available. Public teams can be found by the Join or Create a team option, which presents a list of suggested public teams available to the user. The search function on the same screen can be used to find other public teams that don't make the suggested list, which is determined by reference to signals in the Graph. Private teams don't appear in suggestions, so the only way to join them is to contact the team owner (how you learn about the existence of the team is another matter - perhaps via a coffee room conversation?).
- Ivan54Bronze Contributorall true, but doesn't really solve the whole distribution list demand. When I want to move away from Outlook to Teams, I need to have the option to contact other departments or groups without being part of that department, right?
Its very unlikely for me as a member of the "IT Team" to also be a member of the "Sales TEAM" and therefore I have no option to contact the whole sales team, without adding every single member into a private chat
- Ali FadaviniaIron ContributorSet-UnifiedGroup -Identity Team1 -HiddenFromExchangeClientsEnabled:$True
it served the purpose best for me - thanks!
- PhilHemingwaySTVIron Contributor
TonyRedmond This simply is not true. Every single team we create has its O365 group show up in the GAL.
PhilHemingwaySTV I'm sure that every team does turn up in the GAL, but only if an action is taken to update its HiddenFromExchangeClientsEnabled property. All teams created through team-aware admin interfaces set this property to $False. If you create using an ISV app, PowerShell, or some Graph-enabled app, you might find that the property is set to $True. For instance, even Teams sets the property to $True for the special team it creates to control who's allowed to create approvals templates. But the general point holds true: teams created through Teams set HiddenFromExchangeClientsEnabled to $False.
- PhilHemingwaySTVIron ContributorThat has not been the case in our environment, and I just closed a ticket with Microsoft today, confirming as much.
Here's the relevant part of their email response, "When you create it from PowerShell or the Teams admin center it will be visible. Please create from the Teams App and observe the behavior (the group should be hidden by default)."
Specifically, teams created through the Teams admin interface are visible in the GAL. We require that new teams be created by admins, so our users are prevented from creating their own in the app... and for admins it was natural to create teams through the Teams admin interface. Every last one since we deployed Teams to the company is showing in the GAL. I'd have to get a colleague to run the Exchange PowerShell command for me since I'm not the Exchange admin, but I don't doubt at all they're set to $True.
So it's pretty frustrating that Microsoft documentation says when you create a team in Teams it will not show in the GAL, because this has not been the case at all for our organization, and I feel like it's a glaring error that needs to be corrected.