Per-application sign-out in Microsoft Entra ID (app-scoped logout without clearing global SSO)

sruthi 100 Reputation points
2025-10-10T16:20:46.32+00:00
  1. Is there a Microsoft-supported mechanism to end only the Entra SSO/session for a single relying party (per client_id / per resource) without logging the user out of other Entra apps or disrupting SSO between other apps?
    • For example, any supported variant of the logout endpoint (e.g., …/oauth2/v2.0/logout with id_token_hint, client_id, or other parameter) that limits sign-out strictly to the initiating RP?
  2. Is there any API to invalidate refresh tokens/session cookies just for one application (client or resource) for a given user?
    • I understand revokeSignInSessions is user-wide. Is there an equivalent that targets one RP only?
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Monalisha Jena 3,515 Reputation points Microsoft External Staff Moderator
    2025-10-13T07:34:39.52+00:00

    Hello sruthi,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.I will try to clarify your doubts one by one:

    1. Unfortunately, Microsoft does not provide a supported mechanism to end the Entra SSO/session for a single relying party (per client_id or resource) without affecting the global SSO state across other applications. Specifically, the standard Microsoft identity platform logout endpoint (/oauth2/v2.0/logout), even when supplied with parameters like id_token_hint or client_id, performs a global sign-out that ends the user's session across all Entra apps in that tenant. There is no supported variant of this endpoint or any API parameter that limits logout strictly to one application or relying party. This is also confirmed in Microsoft’s official documentation:
    2. No, Microsoft does not provide an API to revoke refresh tokens or session cookies for a single application (client_id/resource) only. All available mechanisms operate at the user level across all apps. The Microsoft Graph API method: POST https://graph.microsoft.com/v1.0/me/revokeSignInSession revokes all refresh tokens for the user across all applications, not scoped to a single client or resource. so, there is no equivalent API that targets one relying party (RP) or application only. Token revocation in Microsoft Entra ID is designed to be user-wide for security consistency. more at: https://learn.microsoft.com/en-us/graph/api/user-revokesigninsessions?view=graph-rest-1.0&tabs=http https://learn.microsoft.com/en-us/entra/identity-platform/access-tokens https://learn.microsoft.com/en-us/entra/identity-platform/v2-protocols-oidc#sign-out

    However, you can post your feedback in our Azure feedback portal regarding the feature for the feature you want particularly.

    https://feedback.azure.com/d365community/forum/22920db1-ad25-ec11-b6e6-000d3a4f0789

    This channel is directly monitored by our PM's. They will look into this request and revert back to you directly with an update on this feature immediately.Hope this helps somehow! If it answered your question, please consider clicking Accept Answer and Upvote. This will help us and others in the community as well. If you need more info, feel free to ask in the comments. Happy to help!

    Regards,

    Monalisha


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.