Packer / Sysprep error - IMAGE_STATE_UNDEPLOYABLE on Azure

The problem

# Generalize image