The Pragmatic Programmer

Appian, Pega, Java, DevSecOps, Quality Engineering

Deactivated all users in Appian environment, how to fix?

Background

As part of a user story to Deactivate Users Who Have Not Logged In Recently, we set the value for Idle User Deactivation Duration (Days) as 1 day.
This caused all the users to be deactivated after 1 days of inactivity including system administrator accounts.
We were not able to login using any of the user accounts as a result.

Fix

  1. Reached out to Appian support about this issue
  2. Appian support provided a zip file called “ASTM_Appian_Support_Tools_Manager.zip (10.54 MB)”
  3. Download the attached file “ASTM_Appian_Support_Tools_Manager.zip” and unzip it into /opt/appian/latest/_admin/_scripts
  4. Some next steps to follow:
    3.1. Go into the folder: “cd /_admin/_scripts”
    3.2. Enable permission: “chmod +x ./executeAppianSupportScript.sh”
    3.3. Run the following command: “./executeAppianSupportScript.sh reactivateusers –usernames site-admin”
cd  /opt/appian/latest/_admin/_scripts
chmod +x ./executeAppianSupportScript.sh
./executeAppianSupportScript.sh reactivateusers --usernames site-admin
Inside the ASTM_Appian_Support_Tools_Manager.zip
Inside the astm directory