Symptoms:
- Manual un-registration fails with error 405
- When attempting to manually re-register an agent the following will be shown in the cli:
403
{"context" :
{"$module" : "mms_rest_api_vsa64_17000"
},"domain" : "global",
"origin" :
{"code" : 403,
"fields" :
{"$module" : "mms_rest_api_vsa64_17000"},
"linetag" : "0x487816542fd36973, e:\\307\\enterprise\\rest_api\\agent\\registration.cpp:984, AgentRestApi::`anonymous-namespace'::Register",
"module" : 0,
"suberror" : null,
"text" : "Registration of already registered agent is disabled for security reasons. Please reinstall the agent if you want to change the registration."
},"reason" : "internalError",
"serCode" : "0x00000193"
}
Root Cause:
As of update 4.10 its no longer possible to unregister agents without uninstallation for security purposes.
Solution:
Uninstall and reinstall the agent.