Azure AAD B2C: revokeSignInSessions seems to be ignored

Stefano Sapienti 110 Reputation points
2025-07-14T08:04:32.1833333+00:00

Hi,

we are using Azure B2C with custom policies to authenticate users in different types of applications: web, SPA and mobile.

We have custom attributes that could be changed by offline systems and that are included in JWT. We would like to invalidate refresh tokens in order to force the app to refresh the token and have attributes changed.

We are simulating call using postman so we use the "/authorize" endpoint to authenticate the user, then we call "/token" endpoint to retrieve the refresh token and "/token" endpoint again to refresh it.

After calling "/users/{id}/revokeSignInSessions" we expect an error on the next "/token" call but it keeps working also with the original refresh token, generated hours before the revokeSignInSessions, until the refresh token expires.

We are missing something on the expected behavior of the revoking API? Maybe we have to change something on the policies to handle it? I can't find any clear documentation on that.

Thanks in advance

Microsoft Security | Microsoft Entra | Microsoft Entra ID

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.