After restart the VM In Azure, the entire configuration and setup, jobs everything erased

After restart the VM In Azure, the entire configuration and setup, jobs everything erased in Windows 2019 server. How to fix this.
Thanks
Regards,
Kamaraj.P

Configure Azure to make the disc persistent that contains the Jenkins home directory?

If that doesn’t do it, then investigate if the Jenkins home directory somehow has a different value after the restart.