Hide a User from the Shared Address Book in Office 365
Following my previous article Using Microsoft PowerShell to provide Office365 full mailbox permission, this article is an extension to it. This time we need to hide user’s address from the shared address book in the Office 365 system. As before, there’s no way to do this on the portal, and the only option is using the Powershell.
To connect the Powershell to Office 365, you can use the steps from the article above (except from the last step obviously). The command to hide the address than will be:
> Set-Mailbox <Identity> -HiddenFromAddressListsEnabled $true
In case you want to revert back this setting, you can use
> Set-Mailbox <Identity> -HiddenFromAddressListsEnabled $false