Share via

Virtual machine

Shubham 0 Reputation points
2026-03-13T10:15:42.93+00:00

resource got deleted by automatically , unable to find the required resources, which are already are in used for my current projects.
vm is not visible , pls look into this issue asap and provide the meaningfull solution for this same

Azure Virtual Machines
Azure Virtual Machines

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


1 answer

Sort by: Most helpful
  1. Himanshu Shekhar 5,225 Reputation points Microsoft External Staff Moderator
    2026-03-13T11:02:03.0466667+00:00

    Shubham

    Azure does not automatically delete virtual machines or resources unless a deletion action is explicitly triggered. If your VM and dependent resources are no longer visible, this usually occurs due to one of the scenarios below:

    Most common causes

    • The VM or its resource group was deleted manually by a user, script, automation, or CI/CD pipeline.
    • A subscription change (disabled, expired, or deleted) caused the resources to be deallocated or permanently removed.
    • An Azure Policy, Automation Account, or external tool initiated the deletion.
    • You are viewing a different subscription, tenant, region, or resource group.
    • The VM was deleted and no Azure Backup or disk snapshot was configured.

    How to confirm what happened

    1. Check Azure Activity Log (authoritative source) The Activity Log records all control‑plane operations, including who deleted the resource and when - https://learn.microsoft.com/en-us/azure/azure-monitor/platform/activity-log
    2. Verify subscription state If the subscription was disabled or deleted, resources may no longer be accessible or may have been permanently removed after the retention period. Azure subscription states Reactivate a disabled Azure subscription

    Recovery options

    • If Azure Backup or snapshots were enabled: The VM can be restored from a recovery point. Restore Azure VMs using Azure Backup
    • If no backup or snapshot exists: The VM cannot be recovered, as Azure does not retain deleted compute resources.

    Prevention recommendations

    • Apply Delete (Cannot Delete) locks on critical resources or resource groups to prevent accidental deletion. Lock your Azure resources
    • Enable Azure Backup for all production VMs.

    If the information is helpful, please click on Upvote and Accept Answer on it.

    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.