Skip to content

Foundry AsExisting does provision cycle every time #12971

@tommasodotNET

Description

@tommasodotNET

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I have a foundry resource marked AsExisting but every time I run the apphost using cli or aspire extension it won't remember it's provisioned and will go through the entire provisioning process every time.

var foundry = builder.AddAzureAIFoundry("foundry")
    .AsExisting(existingFoundryName, existingFoundryResourceGroup);

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

10.0.100

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-integrationsIssues pertaining to Aspire Integrations packagesazureIssues associated specifically with scenarios tied to using Azure

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions