Skip to content

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

Description

@trangevi

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

Assignees

No one assigned

    Labels

    ext-agentsazure.ai.agents extension

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions