search cancel

Removing an Agent from Policy Store using Perl CLI, the reference to this agent doesn't get removed from the AgentGroup and AdminUI report Error: Could not find specified subject.


Article ID: 8126


Updated On:


CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On


  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 [] 

  (http-myhost.2.6.1-8443-5) Could not identify XPS exception CA.SM::[email protected](mygroup): 

  [CA.SM::AgentGroup.AgentsLink]: Invalid attribute: 

  [CA.SM::[email protected]]. 


  How can we solve this problem?



Policy Server 12.52 SP1 CR05 on SunOS 5.10;


  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.