Hi everyone!
I'm having a problem logging in with the desktop client of MS Teams on Linux. Whenever I try to login to the app, my username (/email) and password are accepted and it shows me the 2FA page with my organisation's background. I then receive a text message with my 2FA code in it, which I then enter and seemingly gets accepted. I then get the 'Stay signed in?' question, which I answer with 'Yes'. So far so good, I expect the actual MS Teams UI to be launched next. But instead, it closes and relaunches to open the 2FA page again. I don't need to enter my username and password again (unless I manually close and reopen MS Teams), but it does send another text message to my phone with a 2FA code. I can keep entering the 2FA code and then getting the same 'Stay signed in' page and the Teams restart that happens after that, until Teams reaches the limit for maximum amounts of 2FA attempts.
Essentially then, I'm stuck in a 2FA loop, where all of my entered credentials are correct, but somehow it never really logs me in to show the actual app... At least I can still use the in-browser client, but that has its own shortcomings for which I'd like to use the desktop app.
As for some details of my system, I'm running Manjaro KDE (fully up-to-date as of today) with the Teams app installed from the AUR, version 1.3.00.30857 (though this problem has been with me for +- a month now). Interestingly, I was able to use the Teams desktop app from September to October "just fine" (had some problems back then as well, including with login, but that then suddenly 'just worked' iirc)
If there's any other info you need to debug this issue, let me know! What can we do to get MS Teams on Linux working for me? Or is it just a lost cause?
@Bart van Oort
Thanks for your sharing. I'm glad to hear that you have resolved this issue.
Any other questions, it is welcome to go back to discuss with us.
Have a nice day!
@Sharon Zhao-MSFT
Hi it's me again. I'm having the same problem again, but then with a different account and the earlier solution of removing the config folder doesn't fix it anymore. That other account is from another organisation which requires me to use 2FA through the Microsoft Authenticator app. The notification on my phone to approve my login pops up immediately after entering my email and password, as expected, but when I approve it, the same thing happens as in my original post: MS Teams closes and relaunches to open the 2FA page, prompting another 2FA notification from the Authenticator app. When I approve that, the same thing happens again.
Removing the config folder doesn't work this time around (tried that multiple times to no avail), so right now there's no way I can login to MS Teams on Linux with that organisational account That makes it barely usable. What are the responsible team's plans to fix these login issues?
Great to see there has been so much response in the past two weeks /s :)
Turns out the organisational account doesn't allow logging in through devices or from networks that do not belong to the organisation. The giveaway was that the exact same thing happens in the browser. It would have saved me quite some time if the MS Teams app (or website for that matter) would actually give a useful error message stating the reason why logging in is not possible / failing, especially in the cases of such policy-based login failures.
@Bart van Oort
Thanks for your sharing and suggestion.
Currently, there is a list of error codes of Teams sign in issue. You could read it by this link. Microsoft is adding more as they arise.
Sign in to comment