We help IT Professionals succeed at work.

How do I Hide/UnHide a  'Synced' User from the Office 365 Address list

899 Views
Last Modified: 2017-07-19
I've recently installed ADConnect and started Office 365 from on-premise.  I previously created O365 users with a scirt and set them to 'hide/unhide' from address list.  Now the O365 GUI and powershell can't manage O365 directly anymore.  Forums suggest using the attribte msExchHideFromAddressLists (local AD) attribute (TRUE/FALSE) -- this isn't having any effect.  I've also seems use SHOWINADDRESSLIST (local AD) attribute.  SHOWINADDRESSLIST  complains about values I've attemted - true/fale,global address list, etc..  What is appropriate value for the field.  It's currently 'not set'.  Toggling msExchHideFromAddressLIsts seems to have no effect either way.  I have a user a need unhidden and others I need hidden.  They just remain as previously set before ADSYNC was installed.  How do I do this now -- post ADSYNC?
Comment
Watch Question

DeepinInfrastructure Engineer
CERTIFIED EXPERT

Commented:
Once you had the changed the attribute have your forced a sync with ADSYNC?
To force a delta sync:

Start Windows PowerShell on the server running the ADsync and type

Import-Module ADSync

 followed by

 Start-ADSyncSyncCycle -PolicyType Delta
CERTIFIED EXPERT
Most Valuable Expert 2015
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
C EmmonsAdmin

Author

Commented:
Thanks for your help.