Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
Firstly, you have to enable the subscription
Refer this document how to reactive the subscription:
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/subscription-disabled#the-subscription-was-canceled
If there is no reactive option in the subscription you have to raise the Azure Billing support.
- Go to Azure Cost Management Overview Page in Azure Portal.
- Click on Help and then New Support Request
- Fill out the required details (Issue Type should be Billing)
After the subscription is enabled, please follow these steps:
DDoS protection plans cannot be deleted if they are associated with a virtual network. So the first step is to disassociate both objects. Although the VNET is deleted, I think it is still worth a try and see if you can still try to diss-associate the DDOS plan from the Virtual Network using Azure CLI as shown here and see if that helps in deletion.
# Gets the most updated version of the virtual network
$vnet = Get-AzVirtualNetwork -Name MyVnet -ResourceGroupName MyResourceGroup $vnet.DdosProtectionPlan = $null
$vnet.EnableDdosProtection = $false
$vnet | Set-AzVirtualNetwork
Follow this command if it is DDOS IP Protection plan.
If not tried already another approach you can take here is to try and remove the DDOS plan using PowerShell Command shown here.
Remove-AzDdosProtectionPlan -ResourceGroupName ResourceGroupName -Name DdosProtectionPlan
If you are still unable to delete the DDOS plan, I think a support ticket will be required in this case as a support engineer can involve backend team to help resolve this issue.
Kindly let us know if the above helps or you need further assistance on this issue.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.