# Keycloak 21 Missing ability to execute-actions-email through UI (Reset Password email)

**URL:** <https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757>\
**Category:** Miscellanaeous\
**Created:** [April 27, 2023, 3:55am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757 "2023-04-27T03:55:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulkilla](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/paulkilla/32/1045_2.png) [@paulkilla](https://forum.keycloak.org/u/paulkilla)\
**Post date:** [April 27, 2023, 3:55am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/1 "2023-04-27T03:55:33Z")

</div>

As part of our flows we occasionally reset users e-mails through the Web UI.  
In previous versions there was an option to reset users passwords which would send a reset password e-mail - and allow an expiry.  
 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/8/8bcff859b4c52002ac278f7e60bf997b9a7605b9.png)

In Keycloak 21.0.2 I cannot see this option anymore?  
Is this still possible? Am I just missing it?

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [April 27, 2023, 4:57am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/2 "2023-04-27T04:57:51Z")

</div>

> [@paulkilla](#):
>
> In previous versions there was an option to reset users passwords which would send a reset password e-mail - and allow an expiry.

I’m running `21.0.2` and still see that dialog by going to the user, clicking the _Credentials_ tab and clicking _Credential reset_.

---

<div class="post-metadata">

**Author:** ![paulkilla](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/paulkilla/32/1045_2.png) [@paulkilla](https://forum.keycloak.org/u/paulkilla)\
**Post date:** [April 27, 2023, 5:01am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/3 "2023-04-27T05:01:35Z")

</div>

Hi xgp,

This is what that screen looks like for me.

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/9/918b6c823055240fc4c5135b21dd5ad991c70283.png)

and if I select Set Password I get:

![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/6/68af3f6cfce45f0b32adfea4b61c9a50a87716d8.png)

No option to initiate a password reset that sends the e-mail link for the user to complete.

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [April 27, 2023, 5:05am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/4 "2023-04-27T05:05:03Z")

</div>

I see two states when I click on the _Credentials_ tab.

1. When it’s empty, there is a _Credential reset_ link:  

2. When there are credentials, there is a _Credential reset_ button at the top right:

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [April 27, 2023, 5:07am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/5 "2023-04-27T05:07:14Z")

</div>

I think your problem is that user is coming from a federation source (I’m guessing by the _Provided by_ column), and you can’t reset credentials when that is the case.

---

<div class="post-metadata">

**Author:** ![paulkilla](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/paulkilla/32/1045_2.png) [@paulkilla](https://forum.keycloak.org/u/paulkilla)\
**Post date:** [April 27, 2023, 5:17am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/6 "2023-04-27T05:17:04Z")

</div>

Yer I’m using Active Directory… that hasn’t been a problem in previous versions?  
My screenshot in the first post was from my instances using the same federation.

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [April 27, 2023, 5:18am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/7 "2023-04-27T05:18:13Z")

</div>

🤷‍♂️

I don’t know why it’s not there anymore. Might be worth filing a bug with the Keycloak team: [Issues · keycloak/keycloak · GitHub](https://github.com/keycloak/keycloak/issues)

---

<div class="post-metadata">

**Author:** ![paulkilla](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/paulkilla/32/1045_2.png) [@paulkilla](https://forum.keycloak.org/u/paulkilla)\
**Post date:** [April 27, 2023, 5:29am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/8 "2023-04-27T05:29:47Z")

</div>

Yes good point didn’t even think of github…

I think this covers it already:

> <https://github.com/keycloak/keycloak/issues/19160>
>
> \### Before reporting an issue
> 
> \- \[X\] I have searched existing issues
> \- \[X\] I hav…e reproduced the issue with the latest release
> 
> \### Area
> 
> admin/ui
> 
> \### Describe the bug
> 
> In Keycloak 21.0.1, the "Reset credential" button is missing in the AdminUI, that allows Admins to send a password reset link to a user.
> The affected realm has federation with an LDAP backend enabled.
> 
> Only the "Set password" link is available.
> 
> 
> \### Version
> 
> 21.0.1
> 
> \### Expected behavior
> 
> As in version 20, the described button/link should be visible to trigger a password reset for the selected user.
> See e.g. this post: https://github.com/keycloak/keycloak/issues/14660#issuecomment-1274746647
> 
> \### Actual behavior
> 
> !\[grafik\](https://user-images.githubusercontent.com/14861996/226336623-8a4c9cee-294a-4f05-98ad-63a4ec3ff99e.png)
> 
> Button/Link is not shown
> 
> \### How to Reproduce?
> 
> This behaviour was observed after updating from Keycloak 20 to 21.
> 
> 
> \### Anything else?
> 
> \_No response\_

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [April 27, 2023, 7:51am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/9 "2023-04-27T07:51:43Z")

</div>

I just checked it here (running `21.1.1`) with an LDAP federation and a custom federation provider. In both cases I can see the “Credential Reset” button.

---

<div class="post-metadata">

**Author:** ![paulkilla](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/paulkilla/32/1045_2.png) [@paulkilla](https://forum.keycloak.org/u/paulkilla)\
**Post date:** [April 28, 2023, 1:08am UTC](https://forum.keycloak.org/t/keycloak-21-missing-ability-to-execute-actions-email-through-ui-reset-password-email/21757/10 "2023-04-28T01:08:11Z")

</div>

Yes I can confirm I just updated to 21.1.1 and it is working in this version.
