Not Able to delete Resource groups

Marcel Mueller 0 Reputation points
2023-02-28T11:28:20.7666667+00:00

I am not able to delete resouce groups and due to that getting billing warnings, Getting following error:
Failed to delete resource group kxresourceworker: Deletion of resource group 'kxresourceworker' failed as resources with identifiers 'Microsoft.Solutions/applications/kxworker' could not be deleted. The provisioning state of the resource group will be rolled back. The tracking Id is 'fe6481b1-46e3-4726-958e-4fd7079ec19b'. Please check audit logs for more details. (Code: ResourceGroupDeletionBlocked) The request to delete the resource 'Microsoft.Solutions/applications/kxworker' failed. subscription id 'ea138342-c3fe-4b24-8b22-4a732f0e532c', activity id '5d6cc52c-f0bb-4d8e-b80e-7fd9c313d370', request correlation id 'fe6481b1-46e3-4726-958e-4fd7079ec19b'. (Code: ResourceDeletionFailed, Target: /subscriptions/ea138342-c3fe-4b24-8b22-4a732f0e532c/resourceGroups/kxresourceworker/providers/Microsoft.Solutions/app

Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
114 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Durkan 9,116 Reputation points
    2023-02-28T12:04:41.7933333+00:00

    Hi

    make sure the Resource Group that you are trying to delete doesn't have any resources that have dependencies on resources in other RGs. For example, if you have a VM running in another resource group that is using an IP address assigned from a vnet/subnet in the RG you are trying to delete.

    Also make sure there are no Resource Locks applied to the RG you are trying to delete or its underlying resources.

    If this doesn't work, you may be best to raise a support request via the portal to have this resolved.

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!