How to sync Active Directory users with a CURL request

Question

When importing user accounts from an Active Directory, the response does not return an error, but no users/groups are imported. How can this be resolved?

Answer

The curl command Active Directory sync request will only import users/groups if the Active Directory path is filled in within the "Import users and group" settings in FlexiCapture.

mceclip0.png
Group will be imported with name <ADPath>\<GroupName>, for example: "GC://ABB...."

The following request should work properly after the correct import:

curl.exe --ntlm --user '<usr>:<pswd>' --location 'http://localhost/FlexiCapture12/Monitoring/WinAuth/ActiveDirectory/SynchronizeGroups' --form 'Server="<domain>"' --form 'Iswindowsauthentication="true"' --form 'SearchGroupsUsers="true"' --form 'SearchSubGroups="false"' --form 'Query="<group_name>"'

Further information on the request parameters can be found in the FlexiCapture documentation: Using the Active Directory to manage users

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request