I've got the same problem. Started with one set of earbuds (JBL) and I assumed the issue was with the earbuds (connection problems, disconnection, etc). So, I purchased a new pair (SoundCore), a replacement for a set that I lost, but had great success with previously.
Cannot get the mic to work in Teams. Test in Windows indicate that it's not working, meanwhile, they work just fine with my cell phone. Clearly it's a Window's issue. It's driving me a bit nuts.