I had no issues with my AfterShokz headphones for 2 years, then one day MS Teams updates and now they beep all the time. I tried everything that was suggested and it might work for a bit but would end up doing it again. I finally email Aeropex and they said they had a workaround. This is the reply they sent me.
"Beeping when on mute for the Microsoft Teams app is a known issue on our end which is why our design team was able to create this UC dongle. It is a USB dongle and it's a plugged and play thing that you may connect to your device that will eliminate the beeping issue."
All I did was email them, tell them the issue, and they are shipping me out this UC dongle free of charge. I haven't received it yet, but I thought everyone else might like to know they are actually trying to help their customers. So if you need to resolve this issue email them and hopefully it will resolve the issue.