Skip to content

Cannot use Foundry VS Code extension to see Foundry project models in US Gov #558

@JoeAtMsft

Description

@JoeAtMsft

Does this occur consistently? Yes
Repro steps:
Sign into the Azure extension in VS Code.
Use the Foundry extension to see the Foundry project (I can see my Foundry project in usgovvirginia)
Select the Models drop down to see the models
Get an error- 'Failed to load models. Please refresh to try again.'

Action: azure-ai-foundry.listModels
Error type: SubscriptionNotFound
Error Message: The subscription '' could not be found.

Version: 1.2.0
OS: win32
OS Arch: x64
OS Release: 10.0.20348
Product: Visual Studio Code
Product Version: 1.117.0
Language: en
UTC time: Fri, 01 May 2026 17:03:44 GMT

Details

2026-05-01 14:57:17.558 [error] Error: Failed to load Models for project : The subscription '' could not be found.
2026-05-01 14:57:23.753 [info] Listing hosted agents for project:
2026-05-01 14:57:24.916 [error] Failed to load Vector Stores for project : You are not signed in to an Azure account. Please sign in.
2026-05-01 14:57:24.917 [error] Failed to load Hosted Agents (Preview) for project : Failed to list hosted agents for project : You are not signed in to an Azure account. Please sign in.
2026-05-01 14:57:25.357 [error] Failed to load Tools for project : The subscription '' could not be found.
2026-05-01 14:57:25.360 [error] Failed to load Models for project : The subscription '' could not be found.
2026-05-01 14:57:28.456 [error] Error: Failed to load Models for project : The subscription '' could not be found.

handleErrorResponse extension.js:359456:19
deserializeResponseBody extension.js:359392:45

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions