Cannot hide user from Global address list.

Jero Cheng 150 Reputation points
2023-10-16T07:03:32.57+00:00

Hello

My Company using Exchange Online and On-Premise AD server,with Azure connect to sync the AD accounts.

I would like to hide some disable users from address list on Exchange online,but it show error below.

2023-10-12 17_02_37-Message trace - Exchange admin center — Mozilla Firefox

Also tired from Azure portal,user properties.

2023-10-12 17_18_57-User Details Panel - Microsoft 365 admin center — Mozilla Firefox

I understand that maybe I need to modify attribute in AD as below.

2023-10-12 17_06_00-Hippo - Remote Desktop Connection Manager v2.90 - Sysinternals_ www.sysinternals

Then I checked the "Directory extension attribute sunc" in Azure connect.

2023-10-06 10_44_27-Duck - Remote Desktop Connection Manager v2.90 - Sysinternals_ www.sysinternals.

And also check the rule as below.

2023-10-06 10_45_04-Duck - Remote Desktop Connection Manager v2.90 - Sysinternals_ www.sysinternals.

Then refresh connector schema.

2023-10-12 17_10_26-AADConnect and extending the on-prem AD schema - Blog — Mozilla Firefox

But the users still show in address list.

May I know what I missed or what I have to do further more?

Thanks

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2023-10-17T06:47:21.68+00:00

    If the objects are synced from AD, you need to make the changes therein. For that, you need to have the on-premises AD schema extended with the Exchange attributes. This is different from configuring Directory extensions in AAD Connect, though judging by the screens above, you should be set on that front.

    The last important bit is that the rule that syncs Exchange-related attributes between on-premises and Azure AD requires that the mailNickname/alias attribute be populated on the object. Without said attribute, the changes will not be synced, so make sure you have a non-null value for it. Refer to the official documentation for more info: https://learn.microsoft.com/en-us/azure/active-directory/hybrid/connect/concept-azure-ad-connect-sync-default-configuration

    Exchange related attributes are only synchronized if the attribute mailNickName has a value.


1 additional answer

Sort by: Most helpful
  1. Anonymous
    2023-10-16T09:05:03.5866667+00:00

    Hi partner,

    Have you tried the PowerShell command?

    More details: Hide Users From Global Address List (GAL)

    (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)

    User's image

    Regards

    Shaofan


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

    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.  


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.