Ubuntu installation process is continuously returning back to the beginning when you setup static IP address in the network configuration. In order to overcome this problem, do not mention Search domains in the network configuration.
Hyper-V Secure Boot
In Hyper-V environment, The image's hash and certificate are not allowed (DB). You need to disable Secure Boot in VM Settings to proceed with the installation.