Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
Please go through this link ChaitanyaNaykodi-MSFT gave the solution for that issue: https://video2.skills-academy.com/en-us/answers/questions/1463184/unable-to-delete-azure-virtual-network
If you have any further concerns, please do not hesitate to contact us.
We are pleased to help you.
Thanks,
Rohith