0 votes

When using the Self-Password Reset functionality, is it possible to have a user's locked account automatically unlock itself when they self-reset their password? This would be without turning on the Account Unlocking option.

If this isn't an option, is there a way to keep the "Unlock Account and Reset Password" option and disable/hide the "Unlock Account" option when using Self-Password reset? Basically I want to force locked out users to reset their passwords. Hiding the "Unlock Account" option will keep users from attempting to serially unlock their own accounts over and over again.

by (360 points)

1 Answer

0 votes
by (216k points)

Update 2018

Starting with Adaxes 2018.1 users have the possibility to only unlock their account oralso reset their password via the Self-Service feature. The option is displayed only if the account with the provided username is currently locked out.

Original

Hello,

Yes, it's possible to automatically unlock locked users upon self-password reset without enabling the Account Unlocking option. For this purpose, you need to create a Business Rule triggered After self-resetting password that automatically unlocks all locked out accounts. To create such a Business Rule:

  1. Create a new Business Rule.

  2. On the 2nd step of the Create Business Rule wizard, select User and After Self-resetting password.

  3. On the 3rd step, add the Run a program or PowerShell script action and paste the following script:

     $isAccountLocked = $Context.TargetObject.IsAccountLocked
     if ($isAccountLocked)
     {
       $Context.TargetObject.IsAccountLocked = $False
       $Context.TargetObject.SetInfo()
     }
    
  4. Finish creation of the Business Rule.

0

So this script will unlock ALL locked out accounts on the domain, not just the one that needs it?

0

Hello,

The script created per the instructions above will unlock accounts for all users who reset passwords for themselves using Password Self-Service. Proceeding from your initial post:

is it possible to have a user's locked account automatically unlock itself when they self-reset their password?

Related questions

0 votes
1 answer

We have two on-prem domains; Domain A and Domain B. Domain A is our primary domain and syncs with Azure AD. Domain B contains accounts created for external ... user attempts to authenticate, they are only authenticating against the Domain B on-prem domain?

asked Apr 10 by awooten (80 points)
+1 vote
1 answer

Hi, Is there any way to make Password Self Service Policies OR Operation? Let say, user can enroll to both Q&A and OTP App Google Authenication. However, during the password reset, user can choose either to use Q&A or OTP App.

asked Nov 18, 2021 by fachmi (170 points)
0 votes
1 answer

Hi there, we are already successfully using the password self service via webinterface for our ad domain users. In addition to this are we in the testing phase of the password ... has the same problem and maybe can report how they solved it. Thanks in advance.

asked Oct 27, 2021 by khess (20 points)
0 votes
1 answer

We are looking to implement Self-Password reset for users through Adaxes and need the following information: Is there any additional licensing costs to use the Adaxes Self- ... the earliest version of Adaxes that the client is available? Thank you in advance.

asked Jan 7, 2021 by lgibbens (320 points)
0 votes
1 answer

When enrolling a user for self-service with Adaxes, does this qualify them to reset their passwords via Microsoft Online as well? A lot of our SaaS products use Microsoft ... policies? I.e. Security Questions setup with Microsoft Account, MFA etc. Thanks, Dean

asked Jul 14, 2020 by dcallaghan (20 points)
3,549 questions
3,240 answers
8,232 comments
547,814 users