We run Perl CLI script, and when we remove an Agent from the Policy Store data, then the reference to this Agent from the AgentGroup doesn't get deleted, and the AdminUI reports the following error :
Error: Could not find specified subject.
2017-08-24 11:06:13,553 DEBUG [com.ca.siteminder.uiagent.UIAgent]
(http-myhost.2.6.1-8443-5) Could not identify XPS exception com.ca.siteminder.xps.XPSException: CA.SM::[email protected](mygroup):
[CA.SM::AgentGroup.AgentsLink]: Invalid attribute:
How can we solve this problem?
Fix the script to identify in all Policy Store objects any references of this Agent, and remove or modify these references, and then, remove the Agent. After this, restart the Policy Server to get this issue fixed.