microsoft / microsoft/foundry-dev-tools
Unable to load up models after setting default project
@JerryYangKai is already working on this.
Since Sep 8, 2026.
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 260
- Avg merge
- 42m
- Merged PRs (30d)
- 29
Description
Immediately after signing and setting a default project, I am prompted to sign in, after successfully signing in the project is set, but i get this error
error message: "You are not signed in to an Azure account. Please sign in."
also going through my logs on (Microsoft Auth)
2026-09-03 09:09:10.655 [info] [getSessions] [VSCODE_TENANT:c043e99a-5c7a-4aab-806e-2256c74620f3 https://management.azure.com/.default] returned 0 session(s)
2026-09-03 09:09:10.656 [info] [getSessions] [VSCODE_TENANT:c043e99a-5c7a-4aab-806e-2256c74620f3 https://ai.azure.com/.default] starting
2026-09-03 09:09:11.085 [info] [getAllSessionsForPca] [VSCODE_TENANT:c043e99a-5c7a-4aab-806e-2256c74620f3 https://ai.azure.com/.default] [Shalom@cloudware.africa] failed to acquire token silently, skipping account {"errorCode":"invalid_grant","errorMessage":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2026-05-20T16:18:38.2641599Z and was inactive for 90.00:00:00. Trace ID: f6135ba1-113d-4ec0-b8a6-6ac9fdc45a00 Correlation ID: a533cbc1-0934-42d8-b7f5-7ba67f6b5e6f Timestamp: 2026-09-03 08:09:10Z","subError":"bad_token","correlationId":"a533cbc1-0934-42d8-b7f5-7ba67f6b5e6f","name":"InteractionRequiredAuthError","timestamp":"2026-09-03 08:09:10Z","traceId":"f6135ba1-113d-4ec0-b8a6-6ac9fdc45a00","claims":"","errorNo":700082}
2026-09-03 09:09:11.087 [info] [getSessions] [VSCODE_TENANT:c043e99a-5c7a-4aab-806e-2256c74620f3 https://ai.azure.com/.default] returned 0 session(s)
also here are some logs from foundry toolkit
2026-09-03 09:09:05.604 [info] Information: Microsoft.Neutron.OpenAI.Provider.OpenAIServiceProviderOnnx [0] 2026-09-03T09:09:05.6010799+01:00 Loaded cached model info for 130 models. SavedAt:26/08/2026 11:13:44
2026-09-03 09:09:05.606 [info] Information: Microsoft.Neutron.OpenAI.Provider.OpenAIServiceProviderOnnx [0] 2026-09-03T09:09:05.601081+01:00 Loaded cached model info for 130 models. SavedAt:26/08/2026 11:13:44
2026-09-03 09:09:05.978 [info] Information: Microsoft.Neutron.OpenAI.Provider.WindowsCopilotRuntimeServiceProvider [0] 2026-09-03T09:09:05.9638019+01:00 Phi Silica model is not supported in this device
2026-09-03 09:09:05.992 [info] Information: Microsoft.Neutron.OpenAI.Provider.WindowsCopilotRuntimeServiceProvider [0] 2026-09-03T09:09:05.9883223+01:00 Phi Silica model is not supported in this device
2026-09-03 09:09:06.649 [info] Listing hosted agents for project: first-project
2026-09-03 09:09:09.996 [info] Information: Microsoft.Neutron.Telemetry.MicrosoftTelemetry [0] 2026-09-03T09:09:09.9931813+01:00 [Telemetry] AppName:Neutron UserAgent:NeutronServer Command:ListDownloadedModels Status:Success Direct:True Time:4407ms
2026-09-03 09:09:10.134 [info] Information: Microsoft.Neutron.Telemetry.MicrosoftTelemetry [0] 2026-09-03T09:09:10.1050679+01:00 [Telemetry] AppName:Neutron UserAgent:NeutronServer Command:ListDownloadedModels Status:Success Direct:True Time:4517ms
2026-09-03 09:09:11.120 [error] Error: Failed to load Hosted Agents (Preview) for project first-project: Failed to list hosted agents for project first-project: You are not signed in to an Azure account. Please sign in.
2026-09-03 09:09:11.319 [error] You are not signed in to an Azure account. Please sign in.
2026-09-03 09:10:06.921 [error] Loading models from provider Microsoft Foundry on Windows timed out after 60000ms
2026-09-03 09:10:06.928 [error] Loading models from provider Microsoft Foundry on Windows timed out after 60000ms
2026-09-03 09:12:10.544 [warning] [FoundryLocalSDK] Execution provider registration incomplete: downloadAndRegisterEps timed out
2026-09-03 09:12:10.545 [info] [FoundryLocalSDK] Initialized successfully.
2026-09-03 09:12:28.840 [info] Information: Microsoft.Neutron.Telemetry.MicrosoftTelemetry [0] 2026-09-03T09:12:28.511969+01:00 [Telemetry] AppName:Neutron UserAgent:NeutronServer Command:ListLoadedModels Status:Success Direct:True Time:10ms
2026-09-03 09:12:28.847 [info] Information: Microsoft.Neutron.Telemetry.MicrosoftTelemetry [0] 2026-09-03T09:12:28.5118117+01:00 [Telemetry] AppName:Neutron UserAgent:NeutronServer Command:ListLoadedModels Status:Success Direct:True Time:14ms
2026-09-03 09:12:28.853 [info] Information: Microsoft.Neutron.Telemetry.MicrosoftTelemetry [0] 2026-09-03T09:12:28.5119031+01:00 [Telemetry] AppName:Neutron UserAgent:NeutronServer Command:ListLoadedModels Status:Success Direct:True Time:13ms
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.