Edit 18.9.2023: Stupid microsoft forces to use Mac Os or Windows user-agent so that teams-link URL opens TEAMS. User agent switcher can change the agent if needed. For Firefox https://addons.mozilla.org/en-US/firefox/addon/user-agent-string-switcher/
Edit 2 18.9.2023: Newer teams-for-linux is available from https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v1.3.8
If you upgrade teams-for-linux, you need to remove and make symbolic link
sudo unlink /usr/bin/teams
sudo ln -s /opt/teams-for-linux/teams-for-linux /usr/bin/teams
#####################################################
Read also: https://www.puolanka.org/goto/fix-open-microsoft-teams-link-on-linux-script/
https://www.puolanka.org/goto/chromium-and-chrome-teams-app-launcher-script/
##################################################