I get this requirement from few of my customers that, How to hide External Contacts from GAL.

  1. Connect to Exchange Online Powershell
  2. Run below Command:

Set-MailContact -Identity “user@domain.com” -HiddenFromAddressListsEnabled $true

Feel free to comment for any questions.

By Kingson Jebaraj

Microsoft MVP, Blogger, Owner and Publisher for Cloudexchangers.com, Microsoft TechNet Author, Solution Architect, Former Office365 Technical Lead for Microsoft(Partner) Extensive knowledge and experience in Microsoft Exchange and Cloud Messaging Services and has got more exposure on Messaging environment deployment,migration,designing and other project management activities, I have earned real time experience in handling multi-site distributed critical large environment of messaging system. Been awarded as an MVP (Microsoft Most Valuable Professional) for Office Servers and services from Microsoft for an exceptional real world contribution made through Microsoft forums and other Microsoft communities. Currently working as “Solution Architect” on Private/Public cloud and SaaS environment for Pacific Controls, UAE, Dubai. One of the largest TIER III certified green data center campus in the middle east.

2 thoughts on “How to hide External Contacts from GAL (Global Address List)”
    1. Multiple contacts you may use csv file(Create csv with “Email” column) : Import-Csv -Path “C:\User.csv” | Foreach{Set-Mailcontact -Identity $_.Email -HiddenFromAddressListsEnabled $true}

      For All : Get-Mailcontact | Set-MailContact -HiddenFromAddressListsEnabled $true

      Feel free to comment back if you have any questions.

Leave a Reply

Your email address will not be published. Required fields are marked *