Alc887 no microphone

hello i have a motherboard msi b450l gaming ac with audio realtek alc887 if i leave as default 2channels theres no sound and if i put 6 channels it pass the test on left and right but im not sure its the right solution and also the mic isnt working