[2088510] The account cannot be deleted because it was created using an existing account definition.

Hi,

When try to IsInActive = True for an Employee , we faced that error. That rarely happens for only some Employees. I think it can be related with some attributes, acc def assignment or templates on  ADSAccount object but I can't find the main reason. Do you have any idea? What can cause this issue?

BR

Ferhat

Parents
  • It is because the user has an account definition linked to it so it cannot be deleted.They probably have an ADSAccount account definition assigned, check the employee to see.

  • We just change IsINActive attribute to True on Person table. Then ADSAccount which is assigned to this person changes to disable. (Not physically deleted). An all roles, acc defs are revoked from this Employee by automaticly. We have no current issue now so I can not check the any employee. Because I don't know which employee would get this error when disabled..

    What do you mean you say;  'account definition linked to' . All ADSAccounts have an employee, an acc def and manage level in our system. How can I find out these type of accounts? Could you share a simple sql query?

Reply
  • We just change IsINActive attribute to True on Person table. Then ADSAccount which is assigned to this person changes to disable. (Not physically deleted). An all roles, acc defs are revoked from this Employee by automaticly. We have no current issue now so I can not check the any employee. Because I don't know which employee would get this error when disabled..

    What do you mean you say;  'account definition linked to' . All ADSAccounts have an employee, an acc def and manage level in our system. How can I find out these type of accounts? Could you share a simple sql query?

Children