Linux Teams stuck on STS authentication

mzwolin 1 Reputation point

since last week I'm unable to access my work account on linux Teams app. The app is refusing my login information that I provide when it is 'Taking you to your organization's sign-in page'.


Web client have no problem regarding this, I pass STS with success. I can also successfully log in to my student's account from app, which doesn't have any STS.

❯ pacman -Qs teams  
    Microsoft Teams for Linux is your chat-centered workspace in Office 365  
Skype for Business Linux
Skype for Business Linux
Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.Linux: A family of open-source Unix-like operating systems.
455 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Sébastien Noël 6 Reputation points

    I am having the same issue (Ubuntu 20.04).
    It's very annoying.

    Can Microsoft fix this ?

    1 person found this answer helpful.
    0 comments No comments

  2. Sharon Zhao-MSFT 25,126 Reputation points Microsoft Vendor

    @mzwolin ,

    How many users have the same issue?

    Do you do any changes before this issue happened?

    Do you get any status codes when you log in Teams with your work account?

    Different status code has different troubleshooting action. You can check as below:
    Besides, you could try to clear the client cache as below:
    Cache folder on Linux:
    ~/.config/Microsoft/Microsoft\ Teams\ -\ Insiders
    To remove cache folder:
    rm -r ~/.config/Microsoft/Microsoft\ Teams\ -\ Insiders

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  3. Fabio Salimbeni 1 Reputation point

    Same issue here @Sharon Zhao-MSFT is there action for this MS side?

    0 comments No comments

  4. Mills, Curt 1 Reputation point

    Same issue here with Linux Teams only on OpenSuSE-15.1.

    I can get to the web-based Teams but have no audio/video on meetings there so I need the Linux app to work again. The Linux app worked fine until last Friday when I logged out, now I can't get past the "Taking you to your organization's login" screen. I get:

    Error Code: 50058

    Have removed the app, deleted all of the ~/.config/Microsoft* directories, re-installed the app. No change.

  5. Sébastien Noël 6 Reputation points

    Good news. I could find a solution to log in with Teams Linux and STS.

    My problem (and maybe yours) was that I am running KDE and Teams on Linux relies on the gnome keyring which was not installed by default.

    I only had to install the gnome-keyring to complete the login on Teams with STS:

    sudo apt install gnome-keyring