question

DavidJenkins-7665 avatar image
0 Votes"
DavidJenkins-7665 asked KaelYao-MSFT commented

Show Contacts in DL but not in List.

I am in a cross forest scenario with two forests syncing to Azure. We have to create contacts for users in each domain to keep DL's working since users can't be members of the synced Universal groups.

In the Exchange Address book both Users and Contacts are listed. I'm trying to find a scenario where I can remove the Contact from the list yet keep them visible in the Distribution Groups in the list.

Thanks in advance for ideas.

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DavidJenkins-7665 avatar image
1 Vote"
DavidJenkins-7665 answered KaelYao-MSFT commented

Yeah there really is no way to show a member of a DL and not have them in the GAL.

What I did instead was prefix the display name with an Omega symbol to push it down to the bottom of the list. This way it isn't found easily.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the sharing!
Glad to hear you have found a solution.

0 Votes 0 ·
KaelYao-MSFT avatar image
0 Votes"
KaelYao-MSFT answered KaelYao-MSFT commented

Hi @DavidJenkins-7665

To my understanding, did you mean you would like to hide the contacts from the "Global Address List" and "All Contacts" in Outlook address book,
but make them still visible in the Distribution Group, when other users expand the Distribution Group in "All Distribution lists" or when users send emails?

If I misunderstood your question, please feel free to correct me.



I suppose you may need to create custom address lists and exclude the contacts.

The general steps would be like:
1.add a custom attribute to the Contacts, which will later be used to exclude the specific contacts from address lists
For example:

 Set-MailboxContact -identity Contact1 -CustomAttribute1 "hide"

2.create a new Global Address List and a new address list for Contacts, set the filter to exclude the Contacts using the custom attribute
This part of the filter would be like:

 New-GlobalAddresslist -recipientfilter (CustomAttribute1 -ne 'hide')

3.create a new Offline Address Book and assign the new address lists to it
Use the Exchange Management Shell to create offline address books
4.create a new Address Book Policy including the new address lists and the new Offline Address Book
Create an address book policy in Exchange 2013
5.assign the Address Book Policy to all mailboxes
Assign an address book policy to mail users in Exchange 2013


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

So these are the general ways you'd hide a user from the address list and create new policies and so on. I've tested actually using a custom attribute. It seems to show in a DL you have to be a member of the Global Address list.

1 Vote 1 ·

Hi,

My apologies for the incorrect answer.
I confirmed in my lab that the contact would also become invisible in DL if he is hidden from the Global Address List.

It should be a by design behavior.
I am afraid that it may not be possible to achieve your goal.
Sorry for the confusion caused.

0 Votes 0 ·