LDAP Query - Exclude Exchange Users Hidden from Address Books

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;
Who is Participating?
LauraEHunterMVPConnect With a Mentor Commented:
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."
Add msExchHideFromAddressLists=FALSE
NeoI5theOneAuthor Commented:
Yeah, I had tried this already, but it doesn't work. What am I doing wrong?

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

rakeshmiglaniConnect With a Mentor Commented:
the msExchHideFromAddressLists attribute is set to <Not Set> if the user is not hidden from the GAL.
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."
NeoI5theOneAuthor Commented:
Worked perfectly, thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.