Skip to content

"You are not signed in to an Azure account. Please sign in." #496

@jc-pasta-nfi

Description

@jc-pasta-nfi

Does this occur consistently? YES
Repro steps:

  1. Sign into Azure in VS Code through AI Toolkit for VS Code.
  2. Select a project (or create one)
  3. Try to browse the models. It will tell you that you aren't signed in.

Action: azure-ai-foundry.listModels
Error type: NotSignedInError
Error Message: You are not signed in to an Azure account. Please sign in.

Version: 0.18.0
OS: win32
OS Arch: x64
OS Release: 10.0.26100
Product: Visual Studio Code
Product Version: 1.115.0
Language: en
UTC time: Wed, 08 Apr 2026 19:59:07 GMT

Call Stack
Object.getSessionWithScopes extension.bundle.js:22:5639
async AuthenticationService.getTokenCredential extension.js:174223:23
async AIFServiceClient.createMLClient extension.js:163266:29
async AIFServiceClient.listConnectedAIServicesLegacy extension.js:163808:35
async refreshRealValueAndSaveToCache extension.js:177460:35

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions