Avatar of C Emmons
C Emmons
Flag 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?
PowershellExchangeMicrosoft 365

Avatar of undefined
Last Comment
C Emmons

8/22/2022 - Mon
Deepin

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
Vasil Michev (MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
C Emmons

ASKER
Thanks for your help.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes