I do not remember how or using what I installed it in the first place. I cannot find the package. I tried searching using keywords ‘team’ ‘teams’ or ‘teams-for-linux’ without success.
When I do ‘right click → App Details’ on the icon it opens the ‘Add/Remove Software’ but there also I don’t find anything related to Microsoft or Teams. Where do I look? How do I get rid of it?
If you find it, open it with a text editor and look at the Exec line. Here is your binary. If it does not show the full path, for example /usr/bin/foobar, but only the foobar - write in the terminal which foobar to get the full path.
Then you can check which application owns that binary:
pacman -Qo /usr/bin/foobar
/usr/bin/foobar belongs to foobar-app
And finally, you can remove it with pacman -R foobar-app