Skip to content

Improve UX for install experience of missing extensions #8999

Description

@tg-msft

If you install just azure.ai.agents and no other Foundry extensions, run azd ai agent init with vanilla defaults, and then run azd up you'll see the following:

❯ azd up

ERROR: service host 'azure.ai.project' for service 'ai-project' is unsupported

Suggestion: Suggestion: install an extension that provides this host or update azure.yaml to use one of the supported hosts: appservice, containerapp, function, staticwebapp, aks, ai.endpoint

Your project is using host 'azure.ai.project' which is not supported by default.

An extension was found that provides support for this host.
WARNING: You are about to install an extension!
Source: azd
Id: azure.ai.projects
Name: Foundry Projects (Beta)
Description: Manage Microsoft Foundry Project resources from your terminal. (Beta)
? Confirm installation: [Y/n] Yes
Image

 

It's a bad experience when something happening according to plan looks like a failure to users. We should change this to something that's more like:

Extension {name} is required for {feature} but not currently installed. 
   Id: {id}
   Name: {name}
   Source: {source}
   Description: {Description}
WARNING: You are about to install an extension!
? Install extension [name]: [Y/n]

Metadata

Metadata

Labels

area/extensionsExtensions (general)area/uxUX, prompts, output formatting

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions