Share via

what happened when I get a sign-in failed feedback ? How to check the detail issue and solve it by user themselves?

rain purple 200 Reputation points
2026-03-17T05:36:51.3833333+00:00

Hello, Support team:

I got a wrong code issue with this picture (Sign-in failed)

          Error code: invalid_request![sign-in failed issue)](/api/attachments/be56f2f3-f8b5-4bfd-b302-bfd780ebb31a?platform=QnA)

please help me to check:

 What happened? is it belongs to browser issue or azure portal login issue?

 How to check the detail issue?

Can I solve it by myself if I face it again?

Thank you very much for your quick and professional support.

user

Microsoft Edge | Profile, sync, and sign in | Windows 10
0 comments No comments

Answer accepted by question author

  1. Q&A Assist
    2026-03-17T05:37:07.7433333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The message shows an Azure sign-in failure with error code invalid_request and message AADSTS50139: Session is invalid due to missing an external refresh token. This is an Azure sign-in/session issue, not a general Microsoft Edge problem.

    What happened

    • The existing Azure sign-in session became invalid because the service expected a refresh token that was no longer available or valid.
    • This commonly occurs after long-running sessions, changes to authentication settings, or when cookies/tokens in the browser are cleared or corrupted.

    How to check the detailed issue

    1. Note the error details on the page:
      • Error code: invalid_request
      • Error message: AADSTS50139
      • Trace ID, Correlation ID, and Timestamp.
    2. Use the error code for further analysis:
      • Go to the Error code lookup tool at https://login.microsoftonline.com/error and enter 50139 or invalid_request to see the description and recommended remediation.
      • Optionally, look up the code in the sign-ins error codes reference for more background and remediation steps.
    3. If this is for a work or school account, an admin can also:
      • Open the Microsoft Entra sign-in logs, find the failed sign-in using the timestamp and user, and review Failure reason and Additional Details to see the exact cause and recommended fix.

    What can be done by the user Try these steps in order; in many cases they resolve the issue without admin help:

    1. Retry the sign-in using the “Try again” option on the error page.
    2. Sign out fully:
      • Use the “Sign out” option on the error page.
      • Close all Azure Portal tabs.
      • Then browse again to https://portal.azure.com and sign in.
    3. Clear browser session data for Microsoft sign-in (this removes stale tokens):
      • In Microsoft Edge, clear cookies and site data for portal.azure.com, login.microsoftonline.com, and login.live.com.
      • Close and reopen Edge, then sign in again.
    4. Try another browser or InPrivate window to rule out cached tokens or extensions.

    When to contact support or admin

    • If the error persists after the above steps, capture:
      • Error code, error message, Trace ID, Correlation ID, and Timestamp.
    • Provide these to the organization’s Microsoft 365/Azure admin or Microsoft support. They can use the sign-in logs and error-code tools to identify tenant-specific configuration issues.

    References:

0 additional answers

Sort by: Most helpful

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.