Link to home
Create AccountLog in
Avatar of C Emmons
C EmmonsFlag for United States of America

asked on

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

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?
Avatar of Deepin
Deepin
Flag of United Kingdom of Great Britain and Northern Ireland image

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
ASKER CERTIFIED SOLUTION
Avatar of Vasil Michev (MVP)
Vasil Michev (MVP)
Flag of Bulgaria image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of C Emmons

ASKER

Thanks for your help.