After upgrading to Symantec Protection Engine (SPE) 9.2.1 you are unable to re-add the SPE to the SPE console due to the following error:
<Server Name> Reason: Unauthorized
You also see the following in the CmafUI.log:
[Main UI Thread] INFO Symantec.Cmaf.Security.AuthManagerHelper - Successfully executed the Create User REST API with user: MgmtUser##########
[Main UI Thread] INFO Symantec.Cmaf.Security.BasicAuthManager - Response code of Create User Rest api is : BadRequest
SPE 9.2.1
SPE Console 9.2.1
During the upgrade the MgmtUser was not correctly auto-removed.
/etc/init.d/symsrestapiservice stop
net stop "Symantec Protection Engine REST API"
cd /opt/SYMCScan/RestAPI
cd "\Program Files\Symantec\Scan Engine\RestAPI"
<user role="management" loginname="MgmtUser#########" displayname="MgmtUser#########1" password="[REDACTED]" emailid=""/>
/etc/init.d/symsrestapiservice start
net start "Symantec Protection Engine REST API"