Why should I not use the Temporary drive to store data?

Azure VM automatically adds a temporary drive to each VM as it comes live. This is typically named D drive. The temporary drive is spun up from the local server hardware and will be recreated on every reboot or movement of the VM. Since this is temporary in nature it is recommended not to store any data that needs to be retained in this drive.