Hide users from Gal office 365

NOTE: The below procedure only applies to environments that don't have Exchange on-prem.

  1. Update Schema ---To add the Exchange attributes you have to prepare the on-premises Active Directory schema for Exchange using the Setup.exe /PrepareSchema                             

https://cnissues.atlassian.net/wiki/download/thumbnails/119150340/image2017-5-12_12-15-18.png?version=1&modificationDate=1494605749190&cacheVersion=1&api=v2&width=616&height=250

 

2.Update in Synchronization Rules Editor--

    1. To add it in the "hide from address lists" capability, open Synchronization Rules Editor, go to Inbound Rules, then find "In from AD - User Common" and click Edit.
    1. Go to Transformations, Add a Transformation with a Direct flow type, a Target Attribute of msExchHideFromAddressLists, and a source of msExchHideFromAddressLists. Save it.

    3.  Update Attribute Value --

    1. Need to change the attribute from FALSE back to TRUE for AAD Sync to detect the delta change.

https://cnissues.atlassian.net/wiki/download/thumbnails/119150340/image2017-5-12_12-16-0.png?version=1&modificationDate=1494605789696&cacheVersion=1&api=v2&width=184&height=250https://cnissues.atlassian.net/wiki/download/attachments/119150340/image2017-5-12_12-16-16.png?version=1&modificationDate=1494605805634&cacheVersion=1&api=v2https://cnissues.atlassian.net/wiki/download/thumbnails/119150340/image2017-5-12_12-17-12.png?version=1&modificationDate=1494605862242&cacheVersion=1&api=v2&width=184&height=250

4. Run AAD Sync to detect the delta change