Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


LDAP Query - Exclude Exchange Users Hidden from Address Books

Posted on 2007-03-21
Medium Priority
Last Modified: 2008-05-31
How can I change an LDAP Query to stop Exchange users who have been hidden from Address Lists from showing up? All I use at the moment is;
Question by:NeoI5theOne
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
LVL 35

Expert Comment

ID: 18762707
Add msExchHideFromAddressLists=FALSE

Author Comment

ID: 18762925
Yeah, I had tried this already, but it doesn't work. What am I doing wrong?

LVL 35

Assisted Solution

rakeshmiglani earned 400 total points
ID: 18763085
the msExchHideFromAddressLists attribute is set to <Not Set> if the user is not hidden from the GAL.
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

LVL 30

Expert Comment

ID: 18763129
To query on a <Not Set> attribute, you would need to use a "NOT" query like this one:


In other words: "show me the users where this attribute is NOT set to FALSE."
LVL 30

Accepted Solution

LauraEHunterMVP earned 1600 total points
ID: 18763137
Sorry, was typing too quicklly (and it's too early in the morning):


In other words: "show me the users where this attribute has NOT been set to any value."

Author Comment

ID: 18763303
Worked perfectly, thanks

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to:…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question