An Azure service that provides central network security policy and route management for globally distributed, software-defined perimeters.
Hey @Gary (Admin),
Firewall policies must be disassociated from the firewall resource, not from the policy.
If the Manage associations option is not visible in Azure Firewall Manager, remove the policy reference from the firewall first, and only then delete the policy.
Using Azure PowerShell
# Get the Azure Firewall
$fw = Get-AzFirewall -Name "myFirewall" -ResourceGroupName "myRG"
# (If required) update the firewall to remove or switch the policy
# Save the updated firewall configuration
Set-AzFirewall -AzureFirewall $fw
# After confirming no firewall is associated, delete the policy
Remove-AzFirewallPolicy -Name "myPolicy" -ResourceGroupName "myRG"
Once the policy is no longer associated with any firewall, it can be deleted successfully. After that, you can safely clean up dependent resources (routes, rule collections) and recreate your secured hub, Azure Firewall, and P2S VPN as needed.
Please let us know if this helps or if you’re still seeing the association blocked.