Repository navigation
Description
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.
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
- 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.
- 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>. - 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. - 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
fix(source-control): Azure DevOps reads the signed-in profile from th…
sickmz commentedon Nov 17, 2026
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.ws.rpc.issues.listfails on the firstazcall (AzureDevOpsCli.execute→VcsProcessExitError ... az exited with 1); nowitcalls follow.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/workitemtypesand thewiqlPOST with--organization https://dev.azure.com/<org>both succeed, so auth is fine.--organizationathttps://app.vssps.visualstudio.comfails ("works only with Azure DevOps Services"), andhttps://vssps.dev.azure.com/<org>fails with the login prompt when the only sign-in isaz 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.