LDAP Query - Exclude Exchange Users Hidden from Address Books

Posted on 2007-03-21
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 100 total points
ID: 18763085
the msExchHideFromAddressLists attribute is set to <Not Set> if the user is not hidden from the GAL.
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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 400 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

751 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