Release : 14.x
Component : IdentityMinder(Identity Manager)
Working as designed. DeletePending state is final and not meant to be changed into active
The Delete pending state feature is actually for deleted accounts that need to be kept for a certain time to meet business or regulatory requirements. There is no mechanism in place to switch an account from “delete pending state” to active. Therefore, once we set an account to a deletePending - the operation cannot be reversed and it cannot be made back into active mode.
At the same time, there are other options - for example, to keep the account on the endpoint and delete it only in the provisioning directory, however it would require to suspend the account before “deleting” it and active it when the user is back. Alternatively, we should never delete the user just suspend/active the corresponding accounts.