VM Missing

Alissa Castillo 0 Reputation points
2024-02-21T19:43:17.38+00:00

My Virtual Machine was up and running, however I have logged back into my account, after a few months, and now it is missing. I have checked the resource guide, backup folders, and trash, but have found nothing.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,787 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 19,872 Reputation points Microsoft Employee
    2024-02-22T01:45:55.5+00:00

    @Alissa Castillo Can you please login to Azure Portal and check the activity log to see what actions have been performed in the last few months. If the VM was deleted, it should be logged in the Activity log.

    If your Azure Virtual Machine (VM) has disappeared from the Azure Portal, there are a few other steps you can take to troubleshoot and potentially recover it:

    1. Check PowerShell:
      • Open a PowerShell window.
      • Log in to your Azure account using az login.
      • List your subscriptions using az account list.
      • Note the subscription IDs.
      • Set the context to one of your subscriptions using: Set-AzContext -Subscription "your-subscription-id"
      • Retrieve the VMs in that subscription using Get-AzVM
      • Repeat the process for other subscription IDs.
      • This will help you verify if the VMs are actually missing.
    2. Resource Group and Availability Set:
      • Go to the Azure Portal.
      • Navigate to your Resource Groups.
      • Select the appropriate resource group.
      • Under the list of resources in your resource group, find your Availability Set resource.
      • Check if your VMs are associated with this availability set.
      • If not, consider associating them or ensuring they are in the correct resource group.
    3. Subscription Filters:
      • Make sure your subscription filter for your view in the Azure Portal is selecting all available subscriptions.
      • Clear any filters on the view.
      • Sometimes, VMs may appear missing due to incorrect subscription filters.

    Try the suggestions above and let me know the results in the comments.

    0 comments No comments

Your answer

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