Reset AD User Password -Action

Sravani36
Tera Expert

Hi we are using Reset AD User Password Action in the flow , whenever this flow getting executed it is showing success status without any error message. but when user tries too login with the new password he is getting an error with wrong password.

 

Sravani36_0-1668752913389.png

 

7 REPLIES 7

Richard Hine
Tera Guru
Tera Guru

The password you are supplying is not encrypted, the field expects an encrypted value and you are passing it an unencrypted string, so it will be setting the user password to the decrypted version of Qwertyasdf123#.

 

In order for this to work you will need to use GlideEncrypter or ScopedEncrypter to encrypt the plain text string before passing it to the action.

 

Hope this helps,

 

Richard

Hi Richard,

I have created a custom action to pass this plain string into password 2 way encrypted

1.

Sravani36_0-1668765231387.png

2.

Sravani36_1-1668765309663.png

3.

Sravani36_2-1668765360797.png

 

In Step 2 you will need to have

outputs.passwe = new GlideEncrypter().encrypt(inputs.passW);

If you are in a scope which you likely will be you will need

outputs.passwe = new ScopedEncrypter().encrypt(inputs.passW);

 

N.B. I think I recall that ScopedEncrypter is in com.snc.ihub_spoke_util_pack.

Hi @Richard Hine , @Sravani36 : I am facing the same issue, response is 204, even it is resetting the password in ENTRA but I am not able to login with new password,

Dinesh90_0-1753341798753.png

Please help to resolve