I recently had issues running Teams on Ubuntu. Teams had been working fine but recently stopped working. I would get into a login loop upon launching Teams. It would take my login but then loop and asking for the info again without reporting an error. I read online this was resolved by using the Snap version. I tend to avoid the Snap versions of apps but gave it a try
sudo snap install teams
After completion I launched again and then was taken to a different login screen for Teams and then it worked fine. Well, as about as fine as Teams goes on Linux but it worked.
I then decided to clean up and remove the old Teams version
sudo apt remove teams
The Deb version of Teams was removed and all good.
Thanks