Link to home
Get AccessLog in
Avatar of cmdolcet
cmdolcetFlag for United States of America

asked on

Prevent Team from showing in Outlook Global Address List

How can I prevent Teams from creating a duplicate Engineering GAL address? The second Engineering list is an actual distribution group.
How can I avoid both from showing up in the the GAL list.User generated image
ASKER CERTIFIED SOLUTION
Avatar of Steven Atencio
Steven Atencio
Flag of United States of America image

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
Avatar of cmdolcet

ASKER

Steven,

If I use O365 with my active Directory. How would I control or change it in there
Unfortunately I'm not very familiar with O365. From a bit of research I've been able to find the below information, I've never used this before so I can't verify for certain it works.

https://docs.microsoft.com/en-us/powershell/module/exchange/users-and-groups/Set-UnifiedGroup?view=exchange-ps 
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_o365admin-mso_dep365-mso_o365b/hide-office-365-groups/3b71a957-75ff-4e83-b1d8-0cada193df20?auth=1

In short these pages say:
You can use following PowerShell cmdlet to hide an Office 365 Group from GAL:
Set-UnifiedGroup -Identity *** Email address(engineering@urdomain.com) *** -HiddenFromAddressListsEnabled $true

I hope that helps!
Steven

It does not recognize the "Set-UnifiedGroup command? Any ideas? Do I need to update my Powershell?
Are you connecting to the exchange server through powershell?
https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell?view=exchange-ps 

I imagine you will need to do that first, if you hadn't already, then you'll run the command.
Thanks Steven,

Is there anything more GUI of a method, possible inside either the O365 or inside the active directory?
I haven't tried this method but it may be worth trying:

  1. Open Active Directory Users and Computers console
  2. Click View Menu and select Advanced Features (to show the Attribute Editor tab)
  3. Find your Distribution List or Security Group (mail enabled) in the OU
  4. DO NOT search your group. Because if you open the DL/Group properties from search windows, it will NOT show the Attribute Editor which is the advanced feature)
  5. Double click to open the DL/Group to see the properties, then go to Attribute Editor tab.
  6. Find hideDLMembership attribute, double click to open and select True. Click OK twice to close the dialog boxes.

Again I've never done it this way, I've generally done it through exchange itself but it may be worth trying and seeing if it works how you're hoping.