VS Code Foundry Toolkit Unable to Sign in to Azure

Đang mở
#943 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, javascript, vscode
Lĩnh vực
authentication, cloud

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
JavaScript
Star
2.1k
Fork
260
Merge trung bình
3 giờ 18 phút
Pull request đã merge (30 ngày)
43

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/foundry-dev-tools

Tất cả issue của microsoft/foundry-dev-tools

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.