Below is the output response from the AD Driver. I want to know whether the transaction is success or we have any issues. In the below response we have two reasons.
1. Name Violation (Though it says naming violation but the object is created. Not sure why so ? Any idea on that will be helpful)
2. password cannot be set bcoz access denied.
Whenever I tried to write a policy to capture success or error, it is getting applied for all the instances (in this case its 3 times)
Need some help like how to get even if its a single error or multiple, execute the action only once. This is how I am trying to capture the status
<output> <status event-id="ServiceNow##124719102555##0:654387ba-98fd-4be0-b2ba-6a944e3be394" level="error" type="driver-general"> <ldap-err ldap-rc="64" ldap-rc-name="LDAP_NAMING_VIOLATION"> <client-err ldap-rc="64" ldap-rc-name="LDAP_NAMING_VIOLATION">Naming Violation</client-err> <server-err>0000206D: UpdErr: DSID-03050223, problem 6001 (NAME_VIOLATION), data 0 </server-err> <server-err-ex win32-rc="8301"/> </ldap-err> <operation-data AutoObject="\Global-CDS-DEV\Global\Meta\Automation\ServiceNow\FactoryAD\Admin\frfrfrAEUGENSS" IDMCN="AEUGENSS" UserObject="\Global-CDS-DEV\Global\Meta\Identities\Active\Employees\AEUGENSS" add-36M1admAccount="CN=36M1AEUGENSS,OU=AdminAccounts,OU=T1-Accounts,OU=Tier-1,OU=Admin,DC=Globalad,DC=NET"/> </status> <status event-id="ServiceNow##124719102555##0:654387ba-98fd-4be0-b2ba-6a944e3be394" level="error" type="driver-general">Could not set password via platform call. Err=5 (access denied)<operation-data AutoObject="\Global-CDS-DEV\Global\Meta\Automation\ServiceNow\FactoryAD\Admin\frfrfrAEUGENSS" IDMCN="AEUGENSS" UserObject="\Global-CDS-DEV\Global\Meta\Identities\Active\Employees\AEUGENSS" add-36M1admAccount="CN=36M1AEUGENSS,OU=AdminAccounts,OU=T1-Accounts,OU=Tier-1,OU=Admin,DC=Globalad,DC=NET"/> </status> <status event-id="ServiceNow##124719102555##0:654387ba-98fd-4be0-b2ba-6a944e3be394" level="success"> <operation-data AutoObject="\Global-CDS-DEV\Global\Meta\Automation\ServiceNow\FactoryAD\Admin\frfrfrAEUGENSS" IDMCN="AEUGENSS" UserObject="\Global-CDS-DEV\Global\Meta\Identities\Active\Employees\AEUGENSS" add-36M1admAccount="CN=36M1AEUGENSS,OU=AdminAccounts,OU=T1-Accounts,OU=Tier-1,OU=Admin,DC=Globalad,DC=NET"/> </status> </output>