Hello,
I have exactly the same issue with my Sony wh-1000xm5, I hade before a Bose NC 700 and had this issue as well. I was able to solve this issue by using a USB dongle and that worked just fine. I will try if this solution also works for this sony. But since all these headsets have this issue, this is really related to Teams and not to the headphones. So it would be good if teams comes up with a solution for this.
regards,
Lien