Preflight Checklist
What's Wrong?
Login screen keeps reappearing. Terminal CLI works correctly with the same configuration.
What Should Happen?
Extension should skip login and connect directly to Foundry.
Error Messages/Logs
Not logged in · Please run /login
Unable to connect to API (ENOTFOUND)
The remote name could not be resolved: 'com-azureai-defaultproj-prod.services.ai.azure.com'
Steps to Reproduce
When using claudeCode.disableLoginPrompt: true in settings.json along with claudeCode.env configured for Microsoft Foundry, the VS Code extension panel still shows the login screen. Every time a message is typed, it resets back to the login page.
Settings used:
json"claudeCode.disableLoginPrompt": true,
"claudeCode.env": {
"CLAUDE_CODE_USE_FOUNDRY": "1",
"ANTHROPIC_FOUNDRY_RESOURCE": "...",
"ANTHROPIC_FOUNDRY_API_KEY": "..."
}
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
v2.1.62
Platform
Other
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
No response
Preflight Checklist
What's Wrong?
Login screen keeps reappearing. Terminal CLI works correctly with the same configuration.
What Should Happen?
Extension should skip login and connect directly to Foundry.
Error Messages/Logs
Steps to Reproduce
When using claudeCode.disableLoginPrompt: true in settings.json along with claudeCode.env configured for Microsoft Foundry, the VS Code extension panel still shows the login screen. Every time a message is typed, it resets back to the login page.
Settings used:
json"claudeCode.disableLoginPrompt": true,
"claudeCode.env": {
"CLAUDE_CODE_USE_FOUNDRY": "1",
"ANTHROPIC_FOUNDRY_RESOURCE": "...",
"ANTHROPIC_FOUNDRY_API_KEY": "..."
}
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
v2.1.62
Platform
Other
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
No response