Skip to content

Azure DevOps Issues page fails because the viewer lookup uses an unavailable profile area #38062

Closed

Description

@Gr3mIin

What happened

Opening the Issues page in the Windows desktop app shows Tempo: Azure DevOps CLI command failed. instead of work items. Azure DevOps authentication and direct work-item reads work on the same machine.

image

Diagnosis

The installed build's AzureDevOpsIssueTracker.getViewer runs az devops invoke --detect true --area profile --resource profiles --api-version 7.1 --route-parameters id=me. In the affected repository this exits 1 with ERROR: --area is not present in current organization. IssueService.list requires this viewer request to succeed before calling listIssues, even for involvement=all, so the profile failure blocks browsing. AzureDevOpsCommandFailedError.detail hides the underlying error behind the generic CLI message. Source: commit cd9c39f, packages/source-control-azure-devops/src/server/AzureDevOpsIssueTracker.ts:585-609, apps/server/src/issue/IssueService.ts:320-328 and 370-395. Current main still uses the same profile lookup.

Steps to reproduce

  1. On Windows, authenticate Azure CLI and the azure-devops extension for a dev.azure.com organization, and add a local Azure DevOps repository to T3 Code.
  2. Confirm an authenticated read succeeds, e.g. az devops invoke --detect false --organization https://dev.azure.com/<org> --area wit --resource workitemtypes --api-version 7.1 --route-parameters project=<project>.
  3. In that repository run az devops invoke --detect true --area profile --resource profiles --api-version 7.1 --route-parameters id=me. On the affected installation it fails with the area error.
  4. Open the desktop Issues page. It displays the generic CLI failure instead of loading the list. Reproduction confirmed on this installation; behavior across other organizations is unverified.

Version

0.1.11-nightly.20261117.4825, desktop and bundled server; commit cd9c39f

Environment

Windows x64 10.0.19045; desktop app with local bundled server; Node v24.22.1 per triage context; Azure CLI 2.89.0; azure-devops extension 1.0.6

Evidence

Direct profile command: ERROR: --area is not present in current organization
Authenticated workitemtypes request: succeeded, 12 types returned.
server.trace.ndjson: VcsProcessExitError in AzureDevOpsCli.execute, az exited with 1; AzureDevOpsCommandFailedError; caller IssueService.list -> ws.rpc.issues.list.
Screenshot: Azure DevOps, 1 project; Tempo: Azure DevOps CLI command failed.

Related issues

#38015 is a different failure in work-item hydration, fixed by #38019 / commit 16548ab. That change leaves getViewer untouched. #24124 concerns the older PAT-only authentication probe, not this profile-area request. No matching profile-area issue found.

Fix applied or workaround

No changes applied to the app, database, credentials, or service. Direct Azure DevOps CLI work-item reads work. No configuration workaround verified. The newest published release at investigation time is the affected build; the separate hydration fix on main does not resolve this profile lookup.

Filed by

Codex, gpt-6.1-sol, through T3 Code desktop triage

Activity

  1. added
    via-triage
    on Nov 17, 2026
  2. added a commit that references this issue on Nov 17, 2026
    21e9c5f
  3. sickmz commented on Nov 17, 2026

    @sickmz

    Also reproduced on a Linux x64 server (desktop client on Windows), T3 Code 0.1.11-nightly.20261117.4838, azure-cli 2.92.0 + azure-devops extension 1.0.8, signed in with az login, dev.azure.com org reached over an ssh.dev.azure.com remote.

    • Server trace: every ws.rpc.issues.list fails on the first az call (AzureDevOpsCli.execute → VcsProcessExitError ... az exited with 1); no wit calls follow.
    • Run by hand in the repo: az devops invoke --detect true --area profile --resource profiles --api-version 7.1 --route-parameters id=me → ERROR: --area is not present in current organization.
    • wit/workitemtypes and the wiql POST with --organization https://dev.azure.com/<org> both succeed, so auth is fine.
    • Pointing --organization at https://app.vssps.visualstudio.com fails ("works only with Azure DevOps Services"), and https://vssps.dev.azure.com/<org> fails with the login prompt when the only sign-in is az login. That second point may matter for the fallback in fix(server): Azure DevOps issues list even when the signed-in account cannot be looked up #38078.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    via-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions