Hi shiva patpi,
Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Are you encountering any error messages while deleting the virtual machine using Azure, PowerShell, or the CLI? This will help in understanding and troubleshooting the issue.
I understand that you are not able to delete Virtual machine. Please note that depending on how you delete the VM, it may only remove the VM resource itself and not associated networking or disk resources. You can modify the default settings to control which resources are deleted along with the VM.
To delete the virtual machine in Azure portal, follow these steps:
- Open the Azure portal.
- Navigate to your virtual machine.
- On the Overview page, select Delete.
- In the Delete virtual machine pane, select the checkbox for Apply force delete.
- Select Ok.
To delete the virtual machine using PowerShell and CLI and Azure portal follow the below link: Force Delete for VMs
For additional information follow: Delete a VM and attached resources
If the answer is helpful, please click "Accept Answer" and "Upvote it."
If you have any further queries, do let us know.