o365Adm
asked on
AJAX connector from web to Activedirectory
We have few web based forms and we need to run a AJAX connector on local active directory to validate if the users alias/email address exists and have a Green symbol if exists or RED color symbol if it doesnt exists.
This will help us to validate from client end and save user time.
Can you please let me know if this is possible.
This will help us to validate from client end and save user time.
Can you please let me know if this is possible.
ASKER
Hi Lajuan,
we dont maintain a database for storing objects as the number of users are comparitively less. Howver we could store the user alias/SMTP in a csv/txt file. Is it possible to query ajax from web to the local csv.
Could you also share a sample code for the same.
Thank you so much.
we dont maintain a database for storing objects as the number of users are comparitively less. Howver we could store the user alias/SMTP in a csv/txt file. Is it possible to query ajax from web to the local csv.
Could you also share a sample code for the same.
Thank you so much.
@o365Adm - What server-side language are you using PHP, .NET, ColdFusion?
Do you have an automated way to keep the .csv/.txt file updated?
Do you have an automated way to keep the .csv/.txt file updated?
ASKER
Hi Lajuan,
We use ASP with powershell. Yes we have an automated process to update the csv file.
We use ASP with powershell. Yes we have an automated process to update the csv file.
@o365Adm - Okay, one more thing. What A/D objects will your .csv file contain?
I don't need any data. Just the .csv file layout.
I don't need any data. Just the .csv file layout.
ASKER
Sample format.
alias,smtp,UPN
xyz123,xyz@mydomain.com,xy z@upn.com
abc123,abc@mydomain.com,ab c@upn.com
alias,smtp,UPN
xyz123,xyz@mydomain.com,xy
abc123,abc@mydomain.com,ab
@o365Adm - Just to confirm... You want a sample using classic ASP versus ASP.NET. Is that correct?
ASKER
Correct. We are using classic ASP.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Lajuan,
Thank you . We have possibility to export data to JSON. I will try your solution.
Again thank you so much for your help.
Thank you . We have possibility to export data to JSON. I will try your solution.
Again thank you so much for your help.
If you have a good relationship with your database team, you could request a special table that's populated by A/D and kept fresh using a scheduled job. One benefit to this approach is that it can be used on your intranet and public facing site without worrying about making calls to A/D. The caveat is that the DBAs would have to establish a linked server connection to A/D in order to keep your table populated.