AD/ldap base search in address book in Outlook

Hi Experts,  I'm having a problem with pulling names/email from AD in Outlook using ldap address book.   With "Use Default" I get only a few names pulling through.  If I use dc=mycompany,dc=co,dc=uk then I get the same list.  I tried many examples from Microsoft but all gave the same error of dn syntax.    is there a way of getting just name and email addresses from all users in AD?   Incidently not all users are Exchange users some are POP.    Thanks in advance.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Do you want to export list of AD users to excel sheet or are you talking about the search name only option in global Address Book.
PNRTAuthor Commented:
Hi, I'm trying to get a list of AD users and emails addresses to appear in an LDAP Address book in Outlook.   I have created the LDAP connection to the server but cannot get the search string right in the Outlook Search Base
You may try this


Then if all is fine then you can edit above and also edit the maximum number of entries and can customize as per your need
PNRTAuthor Commented:
Thanks for the reply
I am getting "Invalid DN Syntax" from Outlook, should I be including my domain name or something first?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.