An Azure service that is used to provision Windows and Linux virtual machines.
Joshi, Sunil (CyberTech) The golden image was deleted from the Azure Compute Gallery while Soft Delete was not enabled and no backup (snapshot/export) exists. In this case, the deletion is considered a hard delete, and Azure does not support recovery of Compute Gallery images once permanently deleted. Unfortunately, Microsoft is unable to restore the image after deletion when Soft Delete was not enabled at the time of deletion.
This behavior is by design and documented by Microsoft.
Next steps / recommendations:
- Recreate the golden image from an existing VM, OS disk, or managed disk snapshot (if any VM was created earlier using this image).
- Re‑publish the recreated image to Azure Compute Gallery.
- Enable Soft Delete on the Compute Gallery to protect against accidental deletions going forward (provides a 7‑day recovery window).
- Implement image backup best practices (disk snapshots / VHD exports) and restrict delete permissions using RBAC.
Microsoft documentation:
- Soft Delete in Azure Compute Gallery: https://learn.microsoft.com/azure/virtual-machines/soft-delete-gallery
- Azure Compute Gallery overview: https://learn.microsoft.com/azure/virtual-machines/azure-compute-gallery