You can hide mail contacts from the GAL using Powershell with the Set-Mailcontact cmdlet. Example:
Set-MailContact -Identity [email protected] -HiddenFromAddressListsEnabled $true
Hiding a Mail Contact from the Global Address List in Office 365
The form below will generate the correct PowerShell for you:
- Enter the email address of the contact that you would like to hide (or unhide)
- Copy the generated code into a PowerShell window.
- You will be prompted for your Office 365 Credentials.
- The contact will be changed.
If you found this post helpful, please rate it 😀