Skip to content

[Agents Extension] Unable to eject infra with existing foundry project #9127

Description

Attempting to run azd ai agent init --infra while specifying an existing foundry project results in

ERROR: `azd ai agent init --infra` is not supported for a project that reuses an existing Foundry resource (the azure.ai.project service setsendpoint:)
 
Suggestion: remove --infra: the extension provisions the existing project (and any required container registry) directly with `azd provision`

A user still might have need to provision resources like ACR or app insights for example, even if they already have a foundry project. We shouldn't block on that.

Metadata

Metadata

Labels

ext-agentsazure.ai.agents extension

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions