Right click the Windows Start button (at the lower left side of your screen) and choose Settings.

Then choose Privacy.

Click Microphone on the left.

Make sure that Let apps use my microphone is turned on and also make sure to turn it on under Choose apps that can use your microphone.