Skip to content

AllowResourceGroupCreation is ignored #12186

@tommasodotNET

Description

@tommasodotNET

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I use Azure local provisioning to reference existing Azure resources. I've setup params as such

  "Azure": {
    "SubscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "AllowResourceGroupCreation": false,
    "Location": "eastus",
    "CredentialSource": "AzureCli"
  }

but still I find a randomly named resource group created in my subscription.

Expected Behavior

I expected no resource group to be created in my subscription.

Steps To Reproduce

tommasodotNET/agent-framework-aspire

Exceptions (if any)

No response

.NET Version info

.NET SDK:
Version: 10.0.100-rc.1.25451.107
Commit: 2db1f5ee2b
Workload version: 10.0.100-manifests.a6e8bec0
MSBuild version: 17.15.0-preview-25451-107+2db1f5ee2

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-rc.1.25451.107\

Aspire version: 13.0.0-preview.1.25519.2

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions