Synchronize data connections via a command line

In the Management Portal at Data Model > Data Connections, use data connections to synchronize data from an external source with your environment. You can also synchronize data connections via a command line. For example, this allows you to synchronize data in Ivanti Identity Director as part of an Ivanti Automation Job: In an Ivanti Automation Module, you can for example configure a Task to make changes to your Microsoft Active Directory, and use the command line in another Task to synchronize these changes in Ivanti Identity Director. By scheduling the Module in a Job, you can automate the synchronization of Active Directory changes. This also makes it possible to create a log file of synchronizations and read the results in the Job results.


Logging in Event Log

During synchronization, errors may occur because of misconfigurations or unavailable external data. These errors are usually shown in a message box. In certain scenarios, for example in Ivanti Automation Tasks, showing this message is either useless (no one sees it), or even harmful - the entire process may wait indefinitely for someone to click OK and continue execution. To avoid this, you can use a command line parameter to log these exceptions to the Event Log, instead of showing a message box.

The Windows Event is only created for an exception on the data source, not for an error or warning that occurs for content during data synchronization or on a successful synchronization. The Windows Event is created in the Application Windows event log and has ressoc as source.


Ivanti Automation

Ivanti Automation Tasks have the option Task fails/succeeds if the executable returns the following exit code:. The exit codes for resocc.exe file are:

Was this article useful?    

The topic was:



Not what I expected