Hello M.GUEND
If you have taken backups of the virtual machine before the sysprep operation, you can restore the virtual machine to a previous state using the backup. Here are the general steps to restore a virtual machine from a backup:
- In the Azure portal, go to the Recovery Services vault that contains the backup of the virtual machine.
- In the vault, go to the Backup Items tab and select Virtual Machines.
- Select the virtual machine that you want to restore and click on the Restore VM button.
- In the Restore Configuration blade, select the restore point that you want to use for the restore.
- In the Restore Configuration blade, select the Restore Type as "Create new virtual machine".
- In the Restore Configuration blade, specify the details for the new virtual machine, such as the name, resource group, and virtual network.
- Click on the Restore button to start the restore operation. Once the restore operation is complete, you should have a new virtual machine that is restored to the state before the sysprep operation. Note that the new virtual machine will have a different name and IP address than the original virtual machine.
I hope this helps! Let me know if you have any further questions.
Please accept answer if the above information is helpful for the benefit of the community.