Avatar of cmdolcet
cmdolcet
Flag 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.Email GAL List
Outlook

Avatar of undefined
Last Comment
Steven Atencio

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Steven Atencio

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
cmdolcet

ASKER
Steven,

If I use O365 with my active Directory. How would I control or change it in there
Steven Atencio

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!
cmdolcet

ASKER
Steven

It does not recognize the "Set-UnifiedGroup command? Any ideas? Do I need to update my Powershell?
Your help has saved me hundreds of hours of internet surfing.
fblack61
Steven Atencio

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.
cmdolcet

ASKER
Thanks Steven,

Is there anything more GUI of a method, possible inside either the O365 or inside the active directory?
Steven Atencio

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.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.