Azure DevOps repeatedly forces users to sign in after successful Entra authentication

John 20 Reputation points
2026-09-01T14:53:04.8333333+00:00

Problem description

Multiple users in our Azure DevOps Services organization have been intermittently forced out of the web portal for at least six months. On heavily affected days, basic actions such as changing a work item's status, posting a comment, or referencing another user can trigger another authentication cycle.

Microsoft Entra authentication succeeds, and other applications using the same Entra identities, including Teams and Outlook, remain signed in.

Environment

  • Azure DevOps Services using Microsoft Entra ID for authentication
  • Affected users are in different physical locations and use different local networks
  • The problem occurs in both Chrome and Edge, although it occurs less frequently in Edge

What I've already tried

The available Entra sign-in events around the affected periods show Conditional Access as Not Applied. One precisely recorded forced-sign-out event did not appear in either the interactive or non-interactive Entra sign-in logs.

I also completely removed and recreated an affected user's Chrome profile. The forced-sign-out behavior continued afterward.

Four HAR traces were captured around repeated occurrences.

Findings from the HAR traces

The captures show the same general sequence:

  1. Microsoft Entra authentication and OAuth token issuance complete successfully.
  2. Azure DevOps subsequently returns multiple HTTP 401 responses.
  3. Those responses contain x-tfs-forcesignout: true.
  4. Their WWW-Authenticate header contains only Bearer and does not contain a claims= challenge.
  5. Several reproductions also include HTTP 500 responses from the Azure DevOps /_signin endpoint.

Current status

We understand that a HAR trace alone cannot conclusively exclude a service-side Conditional Access or Continuous Access Evaluation event. We are looking for guidance on how to determine why Azure DevOps explicitly forces the session to sign out after successful Entra authentication.

The support request linked to this post contains the customer-specific details. Full HAR files, timestamps, user identifiers, and Azure DevOps Activity IDs are available for Microsoft through a private and secure support channel. We have intentionally omitted those details from this public post.

Azure DevOps

Answer accepted by question author
Pravallika KV 19,020 Reputation points Microsoft External Staff Moderator
2026-09-01T17:12:47.6033333+00:00

Hi @John ,

We have engaged backend to investigate the issue further.

The team confirmed multiple storage keys are assigned to both the affected users. We have completed purging for the affected users from backend. This removed user records in both USER and MPS services.

Please follow the below guidelines.

  1. The user must wait ~12 hours (lets downstream/edge caches expire), then:
  2. Clear all cookies & cache.
  3. The user must open a private/incognito window.
  4. Go to https://aex.dev.azure.com
  5. Complete the profile-creation prompt!

Hope this helps!


If the resolution was helpful, kindly take a moment to click on User's imageand click on Yes for was this answer helpful. And, if you have any further query do let us know.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Oldest

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.