Hello,
Thank you for your question.
It should be fine as far as your Windows 2012 to 2016 OS upgrade is successful and without any issues.
Please take backup of this VM before any migration and upgrade also uninstall any Antivirus software before OS upgrade.
If the reply was helpful, please don’t forget to upvote or accept as answer.