Skip to content

azd provision doesn't honor the flag to use existing project and the tool is not getting deployed on provision too. #9194

Description

@mohitpavan

Problem

Im doing azd ai agent init -m "https://github.com/microsoft-foundry/foundry-samples/blob/main/samples/python/hosted-agents/agent-framework/responses/14-browser-automation-agent/azure.yaml" --deploy-mode container

It asked me if i should use the existing project, and i selected the desired project.

Went to the cd bat... and done azd provision and it asked me the subscriptionId and Location again (which i feel can be coming from the init's flag too if the Use existing project is selected).

Selected the same location and subId, and it created a new project however which is not expected for me.

Image Idk why is this new project getting created.

And in the new project, the tool is not available.

Image

and even toolbox is getting deployed in azd deploy only.

observations:
azd env is not setting up in the bat folder and is asking to initialise with subId and the location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-reportedidentify a customer issueext-agentsazure.ai.agents extensionext-foundryazure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes}, microsoft.foundryquestionQuestion about usage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions