Hello kishore matte
Greetings!
I understand that you are trying to delete a resource in Azure but are unable to do so.
According to the error screenshot, before deleting the resource, you need to delete the associated firewall policy and the frontend public IP of the Azure firewall.
Regarding subnet deletion, first, check if any connected resources are in the subnet. If there are, you need to disassociate them before proceeding with the deletion.
Please check the below document for more understanding:
https://learn.microsoft.com/en-us/answers/questions/727510/cannot-delete-azure-firewall-and-policy
To delete an Azure Firewall, you need to follow these steps:
- Disassociate Firewall Policy: If your Azure Firewall is associated with a firewall policy, you need to disassociate it first.
- Go to the Azure Firewall Manager.
- Click on "Azure Firewall Policies".
- Select the firewall policy you want to disassociate.
- Click on "Manage Associations" and remove the associations.
If you encounter any specific issues or errors, let me know, and I can help you troubleshoot further!
Hope the above answer helps! Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.