Click HERE to see how Saviynt Intelligence is transforming the industry. |
11/09/2022 02:01 PM
We are facing an issue with Remove account task. We have created DB connector for MSSQL DB and used the JSON for Delete account
{
"DeleteAccountQry" : [ "USE testdb","DROP USER [${accountName}]","DROP LOGIN [${accountName}]" ]
}
we have also tried with the below JSON
{
"DeleteAccountQry" : [ DROP LOGIN [${accountName}]" ]
}
it is deleting the login and user in the target DB but task in Saviynt is not moving to complete phase.
It shows provisioning comment as "Error while delete account - sphxs220 -sphxs220-Exception occured while Excecuting Query"
Please let us know if similar issue has been faced and any solutions found?
11/09/2022 04:20 PM
Please add semicolon after the each query & share logs if not resolved
11/10/2022 12:04 PM
Updated the query as below:
{
"DeleteAccountQry" : [ "USE testdb;","DROP USER [${accountName}];","DROP LOGIN ${accountName};" ]
}
Result:
Remove access task got completed
Remove account task is in Pending task
Provisioning Comments: Error while delete account - spAKS507 -spAKS507-Exception occured while Excecuting Query
Attached the logs
11/10/2022 11:26 PM
Any provisioning comments under remove task in pending tasks section
11/14/2022 05:51 AM
Error while delete account - sptestuser15 -sptestuser15-Exception occured while Excecuting Query