Change sound output in Teams
Firstly, you need to know that Teams maintains a separate sound output device the rest of the PC.
You can change the sound output device in a couple of ways:
If you are in a meeting, you can access the menu from here;

Or, before the meeting starts here:

You will have multiple options in this list:
