# Is it possible to revoke refresh token when user changes password in Azure AD?

**URL:** <https://community.auth0.com/t/is-it-possible-to-revoke-refresh-token-when-user-changes-password-in-azure-ad/137440>\
**Category:** Get Help\
**Tags:** refresh-token-revocation, sessions\
**Created:** [June 26, 2024, 1:11am UTC](https://community.auth0.com/t/is-it-possible-to-revoke-refresh-token-when-user-changes-password-in-azure-ad/137440 "2024-06-26T01:11:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam.bate](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@adam.bate](https://community.auth0.com/u/adam.bate)\
**Post date:** [June 26, 2024, 1:11am UTC](https://community.auth0.com/t/is-it-possible-to-revoke-refresh-token-when-user-changes-password-in-azure-ad/137440/1 "2024-06-26T01:11:27Z")

</div>

We have a requirement to logout the user when they change their password in Microsoft AD. I know the best I can do is revoke the token. My question is, does Auth0 even know if this occurs and are there any actions that would be fired that I could use? We are using the Microsoft Azure AD connection with common endpoint configured.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [June 27, 2024, 12:21am UTC](https://community.auth0.com/t/is-it-possible-to-revoke-refresh-token-when-user-changes-password-in-azure-ad/137440/3 "2024-06-27T00:21:11Z")

</div>

Hi @adam.bate,

Welcome to the Auth0 Community!

Unfortunately, Auth0 is unaware when a user changes their password in Microsoft AD because It doesn’t receive notifications from Microsoft Azure AD when a user changes their password.

Therefore, Auth0 does not have a built-in trigger that can automatically log out a user when their password is changed in Azure AD.

Since Auth0 is unaware of the password change, you need to revoke the refresh tokens, as you mentioned.

Please refer to our [Revoke Refresh Tokens](https://auth0.com/docs/secure/tokens/refresh-tokens/revoke-refresh-tokens) documentation.

Let me know if you have any questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 11, 2024, 12:21am UTC](https://community.auth0.com/t/is-it-possible-to-revoke-refresh-token-when-user-changes-password-in-azure-ad/137440/4 "2024-07-11T00:21:53Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
