Share via

Delete a disk from a non-existent VM in Azure

Yordan Todorov 20 Reputation points
2026-02-17T14:26:54.7966667+00:00

I'm having trouble migrating resources from one subscription to another. I finally managed to migrate.

Now, in the old subscription, only disks remain. When I try to delete them, it gives an error that they are managed by virtual machines or "This OS disk is managed by MYS-AZ-MTgate. Please swap the OS disk before deleting this disk." But there are no virtual machines.

Need assistance to delete disks

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

{count} votes

1 answer

Sort by: Most helpful
  1. Yordan Todorov 20 Reputation points
    2026-02-17T14:33:28.96+00:00

    As I have described, there are no VMs. suggested command Get-AzVM -ResourceGroupName "MYS-Servers" returns nothing.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.