Manage Inactive Confluence Users

Use Case #1

To reduce license / remove license groups for inactive and never login user licenses.

 

Step-1

Configure Skip users for inactivation or deactivation process.

Step-2

Verify Admin user in App settings > Click update again to confirm.

Note. If your admin username is email prefix then please ensure this email address is not associated for other users.

 

Step-3

Go to, System General Configuration > Click Manage Inactive Users.

Configure the manage Inactive Users form for Use Case #1 to reduce license / remove license groups for inactive and never login user licenses:

 

  • User Directory Names:

    • Choose user directories to process users for inactivation specific to these directories.

  • Processing Group:

    • Its faster and recommenended to process users for inactivation from specific group (e.g confluence-users).

    • For testing you can use the group with small number of users.

    • If empty it processes all users.

  • Deactivate Users (Optional):

    • Disable if purpose / objective to just reduce license counts.

    • Disable if you’re planning to grant License on login attempt.

    • Disable if user directory is read-only.

  • Remove Groups:

    • Enter a comma separated license groups (e.g. confluence-users) to remove for inactive users.

  • Add Groups:

    • Its recommended to add those users inactive users for tracking. e.g. confluence-inactive-users.

  • Activate:

    • To enable Automatic Clean up.

 

That's it!

Additional information.

  • All atlassian provided user directories are supported:

    • Supports license groups removal and helps to reduce license count.

    • For User Deactivation:

      • User Directory must have read + write permissions i.e. in your user directory simply uncheck option [Update User attributes on Login].

      • For Crowd Directory: Enable Read/Write access at crowd properties

 

Step-4

Perform Manual or On demand Clean.

  • Go to, On Demand Run > Click Never Login Users Clean

  • Go to, On Demand Run > Click Inactive Users Clean

Step-5

Go to, System General Configuration > Scheduled Jobs

To Configure Schedule for Automatic Clean.

Use below cron entry to schedule Inactive users clean up every Saturday at 6AM.

0 0 6 ? * SAT *

Step-6

To Debug Manage Inactive Users App:

Go to, System General Configuration > Logging and profiling > Add New Entry

Class/Package Name: com.tse.confluence.deactivateusers.plugin Level: Debug