“Management agent update processing FAILED” when trying to update an ECMA2 MA

Infuriating product…

Export MA from one environment, try to import it to another using “Update Management Agent” and encounter this error:

Nothing in the event log, I sense another wasted day coming up…

The issue turned out to be that I was not only updating the MA configuration, but also the ECMA2 DLL associated with the MA as the same time. The new DLL introduced some new ConfigParameters on the connectivity page. In order to be able to import the new MA config, I had to first do a “refresh Interfaces” on the exisint MA (with the new DLL in place), and then run “Update Management Agent”.

So, if updating a Management Agent at the same time as an ECMA2 DLL, the following order should be observed:

  1. Replace the DLL
  2. Open the existing MA, do “Refresh Interfaces” and save.
  3. Run “Update Management Agent” and provide the new config XML

Hopefully you then get an successfully updated MA: