VS Code Foundry Toolkit Unable to Sign in to Azure

Aperta
#943 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
azure, javascript, vscode

Direzione di ricerca

Start by locating the code that loads Hosted Agents and calls getFoundryAgentEntries, using the reported i.getChildren action and error text as search terms. Compare how the Foundry Toolkit obtains Azure credentials with the Azure Resources extension, then reproduce the sign-in failure with the reported project. Done means hosted agents load for a user signed into Azure.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

needs attention

Does this occur consistently? YES
Repro steps:

  1. I can sign into Azure Resources extension into my tenant and any subscription.
  2. When using the VS Code Foundry toolkit I consistently get a "You are not signed in to an Azure account." But if in fact, I am signed and and can see all my foundry projects. I cannot continue from here when doing Agent development (MS Learn labs for now) because I cannot see the agents I created from the Foundry portal.

Action: i.getChildren
Error type: c
Error Message: Failed to load Hosted Agents (Preview) for project ai103-agent-development-dev: Failed to list hosted agents for project ai103-agent-development-dev: You are not signed in to an Azure account. Please sign in.

Version: 1.6.19
OS: win32
OS Arch: arm64
OS Release: 10.0.26200
Product: Visual Studio Code
Product Version: 1.145.0
Language: en
UTC time: Thu, 05 Nov 2026 20:17:40 GMT

Call Stack
o.loadChildrenOnce extension.js:2419:61196
o.loadUntilCurrent extension.js:2419:60585
extension.js:2158:22927extension.js:2158:22927
o.loadChildren extension.js:2419:60399
o.getChildren extension.js:2419:59934
extension.js:2160:13774extension.js:2160:13774
o extension.js:1908:19248
o.<anonymous> extension.js:2160:13718
a extension.js:5633:132570
m.getFoundryAgentEntries extension.js:5633:135161
m.getChildren extension.js:5633:134578
r._fetchChildrenNodes extensionHostProcess.js:297:111726
r.getChildren extensionHostProcess.js:297:107184
uD.$getChildren extensionHostProcess.js:297:101421
Lingua principale
JavaScript
Stelle
2.1k
Fork
260
Merge medio
3h 18m
PR unite (30g)
43

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/foundry-dev-tools

Tutte le issue di microsoft/foundry-dev-tools

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.