Skip to content

Support Entra to authenticate to Azure models #270234

@Advitya17

Description

@Advitya17
  • Copilot Chat Extension Version:
  • VS Code Version:
  • OS Version:
  • Feature (e.g. agent/edit/ask mode): Model Picker
  • Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet):
  • Logs:

Steps to Reproduce:
If I try to add a custom fine-tuned Azure AI Foundry deployment from the Model Picker, the option asks me for an API key.

Image Image

This is unfortunately not workable, as Key-based Auth is disabled for our entire org due to our latest security wave, and enabling it will create an incident asking me to undo it.

Instead of Key-based Auth support which we're moving away from, could we please add Entra ID based support when trying to add an Azure deployment?
Under the hood, the key/token can be grabbed from user's Entra ID with the "https://cognitiveservices.azure.com/.default" scope. And this may also remove the need of creating a toggle in .vscode/settings.json just to have VS Code utilize our FT model instead.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions