Post logout redirect uri does not work for certain accounts

JA 0 Reputation points
2024-04-15T13:13:59.72+00:00

When logging out of the accounts connected to the application, there is a redirect like so:

/login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri=app-url-here

There are some accounts where the redirect does not work, and the page hangs on the sign-out page.

User's image

Was wondering if anyone had any info on why the redirect works fine with some accounts but not others.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,612 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,514 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 36,976 Reputation points
    2024-04-16T08:25:52.34+00:00

    Hi @JA

    Please check that you have added this URL as the logout URL for your application in Microsoft Entra ID. Additionally, the logout URL is not currently available for the primary admin user (root account) and external users.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.