Share via

Lost all of my contents after 2 years of VM being turned off

EdIntel 0 Reputation points
2026-02-17T16:32:19.4833333+00:00

Hi,

About two years ago, I turned off my VM to reduce costs because I wasn’t sure whether the websites I was hosting in Azure would still be needed. I now need access to those websites again, so I logged in and started the VM. However, none of the websites have come back online.

I can see my subscriptions, resource groups, and storage accounts, but I cannot find the WordPress apps that were created two years ago. Is it possible that Microsoft deleted my apps and their contents due to inactivity? If so, is there any way to recover them?

For reference, although the VM was turned off, I have continued paying the monthly subscription, so my account has remained active.

Any assistance would be greatly appreciated. It has been very difficult to reach a live person through Microsoft support.

Thank you in advance, Ashok

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. Himanshu Shekhar 4,025 Reputation points Microsoft External Staff Moderator
    2026-02-18T19:26:11.1866667+00:00

    @EdIntel

    Thanks for the clarification. Since your Azure subscription has remained active, Microsoft does not archive resources.

    Azure resources are either retained as-is or permanently deleted and there is no hidden or archived state.

    Next steps to restore your WordPress sites

    1. If WordPress was hosted on an Azure VM (IaaS):

    Stopping or deallocating a VM does not delete data.

    Start the VM and verify its current public IP/DNS.

    Ensure the web server (Apache/Nginx/IIS) and database (MySQL/MariaDB) services are running.

    Check NSG and firewall rules for ports 80/443.

    If the VM OS is corrupted, create a new VM and attach the existing OS/data disks to recover the WordPress files and database.

    1. If WordPress was hosted on Azure App Service (PaaS):

    Check whether the App Service still exists.

    If it was deleted and backups were enabled and still within the restore window, you may be able to restore it.

    If the App Service and its backups were deleted, the content cannot be recovered.


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.