0 votes


In a previous installation of Adaxes, we were able to reset users passwords, and send it automatically by SMS to the user. When we try to do the same in Adaxes 2018.1, the user just get a message like "Your new password is . Your username is johndoe" How can we ensure that the %unicodepwd% variable (or a similar variable) contains the actual password created for the user?

We use a custom command to reset the password and create a variable to be able to send SMS. The command looks like this:

Reset password for the User
Modify the User: set CustomAttributeText1 to 'SMS'
Modify the User: set Password Never Expires to 'false', set Must Change Password at Logon to 'True', set User Cannot Change Password to 'No'
Send SMS (Your new password is %unicodePwd%. Your username is %username%)

What is wrong, and how do we fix it?

PS: This is just a problem when we reset a users password. A similar SMS works just fine when we create the user.

by (120 points)

1 Answer

0 votes
by (279k points)
selected by
Best answer


The %unicodePwd% value reference can be used only in Business Rules triggering Before/After Creating a User and Before/After Self-resetting/Resetting/Changing/ password of a user. In other cases, the value reference will resolve into an empty value which is exactly the case you have. This behavior was the same in Adaxes 2017.2 and earlier and, did not change in Adaxes 2018.1.

For the SMS message to include the password, you need to remove the Send SMS action from your Custom Command and use it in a Business Rule triggering After Resetting password of a user. To make sure that SMS messages are sent only when the Custom Command is executed, you can add a condition that will check the CustomAttributeText1 attribute value. Finally, the Business Rule will look like the following:

Related questions

0 votes
1 answer

We are evaluating the product and would like to let users of AD to change password in self service page. We would like to set a 90 days change password policy, ... self service page? Is it achievable (with customization and batch program)? Thanks in advance.

asked Apr 27, 2020 by eric (20 points)
0 votes
0 answers

Hello, We are in the early stages of rolling out Adaxes, and we sent a bunch of users over to the SelfService website, where, per password reset policy, they ... property that is populated with our employees mobile number) and then auto-enroll those users?

asked Jul 1, 2016 by ajrechk (480 points)
0 votes
1 answer

Hello, Is it currently possible to modify what is sent to users initiating a password reset?

asked Aug 13, 2017 by polley (1.2k points)
0 votes
1 answer

Hi, I am setting up the self password reset service. I have the security questions working fine but am having trouble with the SMS part. I'm getting an error "Mailbox ... email and it went through fine. Any idea? Attached a picture of my settings. Thanks

asked Apr 7, 2017 by justin.s (50 points)
0 votes
1 answer

Is there a way to allow users to either answer the self-service reset questions OR get an SMS/Email verification? I can see how to set a policy for either one, but is there any way to enable an end user to choose which to use?

asked Apr 4, 2016 by johnsonua (390 points)
3,434 questions
3,130 answers
546,354 users