Skip to content

network/ipGroups: delete ipGroups failed with IpGroupsHasFirewallPolicyReferences even the firewall policy has already deleted #25739

Open
@wuxu92

Description

@wuxu92

I want to delete the ipGroups just after deleting the firewall policy, the DELETE api response error as below. I'm sure the firewall policy that referenced to the ipGroupgs has been deleted successfully(DELETE API with status 200).

{
    "error": {
        "code": "IpGroupsHasFirewallPolicyReferences",
        "message": "IpGroups '/subscriptions/xxxx/resourceGroups/acctestRG-networkfw-230911125634169038/providers/Microsoft.Network/ipGroups/acctestIpGroupForFirewallNetworkRulesSource' cannot be deleted since there are firewall policies using this resource."
    },
    "status": "Failed"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NetworkService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions