Exchange 2013 hide accounts without email

Dmitry Pirogov 1 Reputation point
2022-08-15T12:37:49.423+00:00

I have problem with Active Directory accounts without mailboxes, wich appear in Global Address List . But in Exchange ECP → organization → address lists i dont see these accounts. GAL filter i use:

((Alias -ne $null) -and (((ObjectClass -eq 'user') -or (ObjectClass -eq 'contact') -or (ObjectClass -eq 'msExchSystemMailbox') -or (ObjectClass -eq 'msExchDynamicDistributionList') -or (ObjectClass -eq 'group') -or (ObjectClass -eq 'publicFolder'))))  

How to exclude AD accounts from GAL? Thanks

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,428 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,074 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,434 questions
{count} votes

3 answers

Sort by: Most helpful
  1. LilyLi2-MSFT 1,981 Reputation points
    2022-08-16T09:58:36.807+00:00

    Hi @Dmitry Pirogov ,
    First, you can view the properties of these accounts through ADSI edit and compare them with other accounts. Look for showInAddressBook and see if the showInAddressBook property is set. If it is set, clear it and see if these users still appear in the GAL.

    In general, we can use "Hide from Exchange Address Lists" to hide these users.
    These accounts can be hidden in the GAL. In AD, find the user in the correct OU, open the user's properties, and navigate to the Attribute Editor tab, find the msExchHideFromAddressLists property, check this property and set it to "true".

    If none of the above works for you, you can try to reach your goal by configuring the filter.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


    0 comments No comments

  2. Limitless Technology 39,461 Reputation points
    2022-08-16T14:51:00.81+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to

    Normally an user without Exchange attributes should not come up in the GAL (it also wouldn´t make sense to show them here). So there are multiple options:

    If the user is a exchange user you can simply hide it from the GAL. There is an option in every AD object which you can set via the Exchange GUI (more infos here). Via that way you can exclude the users you do not wish to come up in the GAL.

    Reference : https://social.technet.microsoft.com/wiki/contents/articles/30926.exchange-2013-hide-mailbox-from-address-list.aspx

    ----------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  3. LilyLi2-MSFT 1,981 Reputation points
    2022-09-07T09:48:47.297+00:00

    Hi,

    I am checking the status of this case. Please let us know if you would like further assistance.

    Is there any update on this case?

    If you have any update about this issue, please feel free to post back.

    Have a nice day!

    0 comments No comments