Sound in hyper-v VM

I was able to install endeavor on windows hyper-v but the sound (both speakers and audio) is not working. I couldn’t find any resource on how to make it work, nor could I find an existing discussion on the forum on this topic. My question is if it is possible to make sound work on hyper-v and if yes, then how?