Home > Forum > Data sources > Active Directory Contacts as Data Source

Active Directory Contacts as Data Source
0

MVP

Hi Martin,

my best bet is to create a plugin with "Custom Data Source"
Depending on the frequency, how often it is used, it may be better to write the contacts to a custom database and retrieve them from there. Of course this has the drawback, that you need to sync it with the AD. I would probably use a simple PS script which is executed on a schedule.
https://github.com/sqlcollaborative/Invoke-SqlCmd2

An other idea would be to use the LDAP option as an authentication provider. I haven't used it and I wouldn't change the authentication provider in an running environment.

Best regards,
Daniel

MVP
In reply to: Daniel Krüger (Cosmo Consult)

Hi Martin,

my best bet is to create a plugin with "Custom Data Source"
Depending on the frequency, how often it is used, it may be better to write the contacts to a custom database and retrieve them from there. Of course this has the drawback, that you need to sync it with the AD. I would probably use a simple PS script which is executed on a schedule.
https://github.com/sqlcollaborative/Invoke-SqlCmd2

An other idea would be to use the LDAP option as an authentication provider. I haven't used it and I wouldn't change the authentication provider in an running environment.

Best regards,
Daniel

Hi Daniel,

Not the answer I was hoping for. It would be nice if I could just use the existing AD functionality as in the attached image or something similar. Maybe an API or something?

MVP
In reply to: Martin Meze (Freelancer)

Hi Daniel,

Using the AD query directly in the Management Console (Active Directory Users and Computers) on the server I get the desired records. If I use the same query in Designer Studio, I get an error. Both images attached.

Hi Martin,

It's just a guess but I believe that you get the error message because the result will be "transformed" to users. Since there is no user object you receive this error.

Did you try to combine the two queries so that you retrieve 'normal' persons as well as contacts? If my guess is correct, you still won't see the contacts.

Best regards,
Daniel

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.