Hello,
The issue is described here, and it applies both to Azure and Hyper-V.
Ideally you should run the /shutdown at the end of your sysprep in order to "clean" shutdown: sysprep /oobe /generalize /unattend:<your file's name> /shutdown but depending on the unattended file it may fail.
--If the reply is helpful, please Upvote and Accept as answer--