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:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article