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
cmdolcetAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Steven AtencioSystems AdministratorCommented:
You can keep the Engineering list from appearing in the GAL by doing the following:
  • Choose recipients from the left menu, then the groups tab
  • Choose the distribution group you want to edit (Engineers), click pen icon to edit the group info
  • Select 'general' from the left menu
  • Ensure "Hide this group from address lists" is selected and hit save

This will keep the group from showing in the GAL. Someone more experienced can probably give you the CLI instructions but offhand this is how I know how to accomplish this. Unfortunately I don't know offhand how to keep a user from creating a new group maybe someone else can help easily with that one.

Good luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cmdolcetAuthor Commented:
Steven,

If I use O365 with my active Directory. How would I control or change it in there
Steven AtencioSystems AdministratorCommented:
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!
Ensure Business Longevity with As-A-Service

Using the as-a-service approach for your business model allows you to grow your revenue stream with new practice areas, without forcing you to part ways with existing clients just because they don’t fit the mold of your new service offerings.

cmdolcetAuthor Commented:
Steven

It does not recognize the "Set-UnifiedGroup command? Any ideas? Do I need to update my Powershell?
Steven AtencioSystems AdministratorCommented:
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.
cmdolcetAuthor Commented:
Thanks Steven,

Is there anything more GUI of a method, possible inside either the O365 or inside the active directory?
Steven AtencioSystems AdministratorCommented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.