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.

book

Article ID: 8126

calendar_today

Updated On:

Products

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

Issue/Introduction

  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: 

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

 

  How can we solve this problem?

 

Environment

Policy Server 12.52 SP1 CR05 on SunOS 5.10;

Resolution

  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.