When attempting to unregister the agent using agentconfigurator.exe the following error will be displayed:
Call failed with Status Code 400 (bad request )

Also, events 1000 and 1026 are witnessed in the Application Event logs.


It is a newly Created Merge1 Agent and has to be deleted before the service is running using Merge1 admin credentials.
An Agent can be deleted/unregistered as follows:
1. Deleting an Agent from the Agents grid.
2. Unregister an Agent using a command line.
./agentConfigurator.exe unregister
3. If these methods fail to remove the agent then the service and delete the agent pool needs to be manually removed.
sc delete
The service name can be obtained from the properties of the service.