0
Published

Operations dependent on agents fail because the agent configuration is incorrect or missing

Beau Harrison (Senior Product Software Engineer) 8 years ago updated by anonymous 8 years ago 1

Description

Particular operations begin failing following the deletion of an agent, and the logs suggest that the operation needs to be updated with a new agent.

Affected Software

  • MIM Event Broker

Symptom

When an operation list attempts to run, the following error appears in the logs:

Operation ccdb05f0-a7aa-4764-b7ff-0f88d748c293 failed in operation list with id 76809adb-cbef-4bdd-8f06-808e33b2af13 for the following reason. This is retry number 0:
Unify.Product.EventBroker.UnifyConfigurationException: Incorrect or missing agent configuration. Please update the operation with a new agent. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Unify.Product.EventBroker.IdentityBrokerChangesPlugInFactory.CreateComponent(ICheckOperationFactoryInformation factoryInformation)
...Operations dependent on agents may also not display correctly, such as run profile operations:

Image 3478

Resolution

This is caused by deleting an agent that has dependant operations configured to use it. For this reason, deleting agents is generally not recommended.

Each dependant operation must be updated to use a new agent of the appropriate type. Once the new agent is correctly configured, simply go through the configurations of each of the affected operations and select this new agent. If there have been no changes in the target system to any of the unique identifiers stored by MIM Event Broker (run profile identifiers from FIM, for instance), the operation will be able to use the original configuration for the new agent.