Synchronise ABBYY FlexiCapture AD accounts from command line / scheduled task

Created by Jeremy Burgess, Modified on Wed, 17 Jan, 2024 at 3:51 PM by Jeremy Burgess

Symptoms

You want to force update of FlexiCapture AD users/groups, either from command line or scheduled task so that this sync can be scheduled.

Cause

n/a

Resolution

To do this, send the following request via the appropriate software (Powershell, Postman, cURL, etc.):

http://urlToMonitoring/winauth/ActiveDirectory/SynchronizeGroups

Parameters:

  • Server – Active Directory domain name
  • IsWindowsAuthentication – Windows authentication on an Active Directory server
  • UserName – user name to connect to Active Directory
    • Note: This parameter is not applied if IsWindowsAuthentication=true
  • Password – user password
    • Note: This parameter is not applied if IsWindowsAuthentication=true
  • SearchGroups – group search
  • SearchGroupsUsers – allows searching for users in groups
  • SearchSubGroups – allows searching for subgroups in groups
  • Query – search bar to search for groups and users in Active Directory


Example Powershell command:

Invoke-WebRequest -Uri 'http://localhost/FlexiCapture12/Monitoring/winauth/ActiveDirectory/SynchronizeGroups' -Method 'POST' -useDefaultCredentials -Body "Server=<ADPath>&IsWindowsAuthentication=true&SearchGroups=true&SearchGroupsUsers=true&SearchSubGroups=true&Query=<groupName>" -ContentType "application/x-www-form-urlencoded"


Source / related articles:

  1. https://help.abbyy.com/en-us/flexicapture/12/admin_guide/users_ad/
  2. https://support.abbyy.com/hc/en-us/articles/360011692079
  3. https://support.abbyy.com/hc/en-us/articles/12656578371603-How-to-sync-Active-Directory-users-with-a-CURL-request

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article