locked
Hide/Unhide from address list not working RRS feed

  • Question

  • Im using an Application to edit the values of AD and Exchange users. Im trying to hide users by setting msExchangeHideFromAddressLists to "TRUE".

    When I update msExchangeHideFromAddressLists attribute and check it on Exchange console the the value is set properly (i.e, the hide from Exchange address list is checked), But  in the address book, Im still able to see that mailbox.

    Im facing the issue only with "msExchangeHideFromAddressLists" attribute because when i update the display name using my application, the change is being propagated to the address book.

    Ive also noticed that

    1)When i directly check the hide from Exchange address list in Exchange Management Console, the address book is updated (i.e, It is hiding the mailbox)

    2)When i toggle the "msExchangeHideFromAddressLists" attribute value through a LDAP browser, the change is not propagated to the address book.

    3)When i toggle the "msExchangeHideFromAddressLists" attribute value through ADSIEdit, the change is not propagated to the address book.

     

    Is there any configuration to be done to address this issue.

    Friday, May 20, 2011 7:23 AM

Answers

  • Hi,

     

    After toggling the msExchHideFromAddressList

    I ran a powershell command

    Update-Recipient -Identity "Alias_Name"

     

    By this It is Hiding/Unhiding the mailbox from the Address List.

    Its properly setting the ShowInAddressBook attributes.

    • Marked as answer by Praveen Soori Wednesday, June 1, 2011 6:34 AM
    Wednesday, May 25, 2011 12:57 PM

All replies

  • I believe it will take soem time , replication to the GC servers as well.

    Please force soem replication form AD sites and servcoies and check it again if in hurry,

    also reopen EMC and check

     


    Friday, May 20, 2011 7:25 AM
  • Hi,

    The issue is only with msExchangeHideFromAddressLists attribute.

    When i update the display name, The change is reflected instantly.

    There are a few mailbox which i hid more than week ago, They are still visible in address book.

     

    Friday, May 20, 2011 7:38 AM
  • Hi Praveen,

    Normally when you are working online with Outlook, the hide/unhide is updated immediately. When you have Outlook configured in Cached mode the hide/unhide is updated the next time OAB replicates. 

    Try to recreate the Outlook profile for one of the user that still see´s the hidden objects after a week.

     


    Adam Bokiniec
    Friday, May 20, 2011 8:52 AM
  • The GAL is a view into the AD which is updated periodically.

    If you just wish to 'hide' then consider clearing the 'showInAddressBook' multi valued attribute.

    To show the object again in the GAL you'll probably have to wait for the next update cycle or populate showInAddressBook yourself.

     

    Uli Tittes

    Friday, May 20, 2011 12:34 PM
  • Check OWA if it's hidden in the GAL there then its working and your outlook clients may be having an issue with their offline address book.
    James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
    Friday, May 20, 2011 1:32 PM
  • Hi Adam,

     

    Changes in other attributes like display name are being updated immediately. So i dont think its a catched mode problem.

    I did do the profile change for the users hidden a week ago. Their profile change got updated, but they are still visible.

    Monday, May 23, 2011 9:16 AM
  • Hi Uli,

     

    It is not just hiding, Ill need to unhide them when necessary.

    Monday, May 23, 2011 9:18 AM
  • Hi Jamestechman

     

    Im using OWA to check the GAL, Other updated attributes are reflected except 'Hide/Unhide'

    Monday, May 23, 2011 9:19 AM
  • When you go into EMC and do hide from Exchange Address lists, it does 2 things;

     

    Sets

    msExchangeHideFromAddressLists = True

    Removes Showinaddressbook

     

    So if you're trying to set this by manipulating just msExchangeHideFromAddressLists it won't work.

     


    James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
    Monday, May 23, 2011 1:51 PM
  • Is there a way to replicate what is being done in EMC,

    i.e, are there any powershell commands  executing which will  remove showinaddressbook when msExchangeHideFromAddressLists = True and

    reinsert the values of showinaddressbook when msExchangeHideFromAddressLists = False.

     

    I think Update Recipient does that when we use EMC. Can we somehow use it(execute it) when we change msExchangeHideFromAddressLists from an external application

    Tuesday, May 24, 2011 5:06 AM
  • Did you try set-mailbox user1 -HiddenFromAddressListsEnabled:$true
    James Chong MCITP | EA | EMA; MCSE | M+, S+ Security+, Project+, ITIL msexchangetips.blogspot.com
    Tuesday, May 24, 2011 2:23 PM
  • Hi,

     

    After toggling the msExchHideFromAddressList

    I ran a powershell command

    Update-Recipient -Identity "Alias_Name"

     

    By this It is Hiding/Unhiding the mailbox from the Address List.

    Its properly setting the ShowInAddressBook attributes.

    • Marked as answer by Praveen Soori Wednesday, June 1, 2011 6:34 AM
    Wednesday, May 25, 2011 12:57 PM
  • I was having this same problem with O365 setup with DirSync on our Local AD.  Turns out that the user did not have a license assigned to them at the time the  msExchangeHideFromAddressLists  was set to TRUE.  To resolve, I had to assign a license to this user and after about 5min, this attribute was updated.  
    • Proposed as answer by Caleb44 Tuesday, November 4, 2014 7:41 PM
    Monday, November 3, 2014 11:30 PM