# MS Federated Logout without prompt to "choose account to logout"

**URL:** <https://community.auth0.com/t/ms-federated-logout-without-prompt-to-choose-account-to-logout/197238>\
**Category:** Get Help\
**Tags:** federated-logout, connections\
**Created:** [February 12, 2026, 2:58pm UTC](https://community.auth0.com/t/ms-federated-logout-without-prompt-to-choose-account-to-logout/197238 "2026-02-12T14:58:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.cardona](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/a.cardona/32/74784_2.png) [@a.cardona](https://community.auth0.com/u/a.cardona)\
**Post date:** [February 12, 2026, 2:58pm UTC](https://community.auth0.com/t/ms-federated-logout-without-prompt-to-choose-account-to-logout/197238/1 "2026-02-12T14:58:46Z")

</div>

We have some organizations using Enterprise connections with Microsoft AD.  
User’s log in, are sent to the MS login to enter their password and back into our application as expected.

When user’s logout however, they are sent to MS and shown a screen to Select the MS account to log out from. This happens even if only one user is actively logged in. We’re using the angular SDK, set the Federated flag to true and provide a logout\_hint.

The concern that some users may fail to explicitly logout and on a shared workstation.

Do you have any suggestions so we can silently logout from MS as well without prompting the user?

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [February 12, 2026, 8:05pm UTC](https://community.auth0.com/t/ms-federated-logout-without-prompt-to-choose-account-to-logout/197238/3 "2026-02-12T20:05:31Z")

</div>

Hi @a.cardona

Welcome to the Auth0 Community!

Implementing a silent logout from MS AD without the account selection screen should be possible by making a couple of adjustments, please allow me to share my thoughts on possible changes and some useful documentations on this matter:

- use [Federated Logout](https://support.auth0.com/center/s/article/Federated-Logout-and-Single-Logout-SLO) to ensure your user is logged out of AD and not just out of the application, especially in an environment with shared workstations. If you are using Angular SDK, you can set the `federated` property to `true` under `logoutParams`, please check [Interface LogoutOptions](https://auth0.github.io/auth0-angular/interfaces/LogoutOptions.html);
- under your Azure AD Enterprise Connection settings, you could find a “Use common endpoint” option. Enabling this setting has created a more consisted user logout experience, as described in [Federated logout with Azure Active Directory](https://community.auth0.com/t/federated-logout-with-azure-active-directory/33434);
- you might need to add `login_hint` as an optional parameter within AD and ensure that `openind` and `profile` scopes are included in your initial sign-in request.

For the last point above, I recommend reading through the official Microsoft documentations on this matter, namely:

- [Bypass User Selection Prompt When Signing Out of OpenID Connect/OAuth2 Applications | Microsoft Learn](https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/sign-out-of-openid-connect-oauth2-applications-without-user-selection-prompt);
- [Issue with logout\_hint not suppressing account selection prompt - Microsoft Q&A](https://learn.microsoft.com/en-ie/answers/questions/2243114/issue-with-logout-hint-not-suppressing-account-sel).

Hopefully this allows you to achieve the desired flow and improve the overall security of your environment. Let us know if you require any further assistance on this matter and do not hesitate to reach out to us fr any other issues or requests.

Have a great one!  
Gerald

---

<div class="post-metadata">

**Author:** ![b.choudhary](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/b.choudhary/32/61001_2.png) [@b.choudhary](https://community.auth0.com/u/b.choudhary)\
**Post date:** [February 16, 2026, 3:11pm UTC](https://community.auth0.com/t/ms-federated-logout-without-prompt-to-choose-account-to-logout/197238/4 "2026-02-16T15:11:23Z")

</div>

Hi @gerald.czifra

We have implemented the logout flow as described in the Microsoft article below, however, the account selection prompt continues to appear during logout, even when only a single user session is active.

[https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/sign-out-of-openid-connect-oauth2-applications-without-user-selection-prompt](https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/sign-out-of-openid-connect-oauth2-applications-without-user-selection-prompt)

We are using the Auth0 SDK for both login and logout.

**Login:**

```typescript
const authorizationParams: any = {
  redirect_uri: `${window.location.origin}/callback-url?
  postLoginTarget=${encodeURIComponent(postLoginTarget)}`,
  scope: 'openid profile email'
};

authInstance.loginWithRedirect({
  authorizationParams
});

```

**Logout:**

```typescript
this.authInstance.logout({
  logoutParams: {
    returnTo: returnToUrl,
    federated: true,
    logout_hint: logoutHintEmail,
  },
});

```

In addition, we have configured the optional `login_hint` claim in Microsoft Entra ID as referenced in the article.

We also attempted to directly redirect to the OIDC logout endpoint during logout:

```plaintext
https://dev-nextech.us.auth0.com/oidc/logout?client_id=HkLZsCJCI8CXgbaVjhFPbGpob6YYOTOJ&post_logout_redirect_uri=http://localhost:4200&federated&logout_hint=<email>

```

However, this approach also results in the account selection prompt.

Despite these configurations and attempts, the logout flow continues to prompt for account selection. Please advise if there are any additional settings, configurations, or recommended approaches to achieve a seamless logout experience without the account selection prompt.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [March 2, 2026, 7:57pm UTC](https://community.auth0.com/t/ms-federated-logout-without-prompt-to-choose-account-to-logout/197238/5 "2026-03-02T19:57:20Z")

</div>

Hi @b.choudhary

Thank you for your input on this matter, this was very helpful!

After doing some internal research on this behaviour, we came to the following conclusions:

1. To bypass the “Pick an account” prompt during logout, Microsoft Entra ID explicitly requires the `logout_hint` [parameter](https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/sign-out-of-openid-connect-oauth2-applications-without-user-selection-prompt#step-3-pass-the-logout_hint-parameter-in-the-sign-out-request:~:text=request%2C%20pass%20the-,logout_hint,-parameter%20along%20with).

2. Auth0’s current [Federated Logout](https://support.auth0.com/center/s/article/Federated-Logout-and-Single-Logout-SLO) implementation supports passing `id_token_hint` and `post_logout_redirect_uri` to the upstream Identity Provider, but it does not currently pass the `logout_hint` parameter to Azure AD. Internal discussions concluded that `logout_hint` support is restricted or unavailable for customers to configure in the current release.

3. Consequently, you are in a tradeoff scenario. Enabling `federated: true` successfully terminates the upstream Azure AD session, but it invariably triggers the account-selection prompt because the required `logout_hint` is not sent to Azure.

In this case, we recommend submitting a [Feature Request](https://auth0.com/feedback) to express interest in this change. Our Product team monitors the page and has visibility over all submissions; users can vote on the requests they want to see and a higher number will drive interest even further.

Have a great one!  
Gerald

---

<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:** [March 16, 2026, 7:57pm UTC](https://community.auth0.com/t/ms-federated-logout-without-prompt-to-choose-account-to-logout/197238/6 "2026-03-16T19:57:35Z")

</div>

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