question

SaketKumar-3869 avatar image
1 Vote"
SaketKumar-3869 asked MichaelFrimpong-2100 published

Cannot login to Teams in ubuntu

I have installed Microsoft Teams in my Linux 19.04. After a few days of working it was suddenly logged out. Now I cannot log in21871-screenshot-from-2020-09-01-08-24-09.png to it. It says "We couldn't find an account with that username." I


office-teams-windows-itprooffice-teams-linux-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

In my humble opinion the problem is when the Windows password expires (or was changed).
As Teams is normally configured to remember the password, you cannot log into the tool anymore.
The password is never updated.

I suggest you to first access your account from https://myaccount.microsoft.com/organizations and logout.

Start Teams and you have to login again (enter the correct username!)
a Sign in popup is displayed.
enter the account you use to login into myaccount.microsoft.com/organizations and the tools says it is redirecting you to you sign in org.

the username is displayed
enter the password
You can stay signed in (I suppose this is the real problem if the password is changed later, because the password is not updated).
I would suggest not aut signed in to avoid the problem.


You can enter Teams!
Hope it helps

PS I suppose when they changed the password on Windows, these people do not suffer this problem! I cost me 1,5 hour of precious time.

Rudy

0 Votes 0 ·
JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered JimmyYang-MSFT commented

Hi!

Does anyone else have the same issue in your organization?

Can you login in Teams web client normally by using your account?

Please make sure that the correct user ID is entered. If it is entered with no issue, please contact with you admin to make sure if you account is still exist in Teams admin center.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I can log in to my web client, even to the unofficial Teams for Linux app available on ubuntu software. I guess, there is some problem with the official Teams app on ubuntu. In my organization, I'm the only one who uses Linux OS.

0 Votes 0 ·

If so, we recommend you try to install Teams-insider to see if this issue can be fixed.

https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams-insiders/

0 Votes 0 ·

Hi @SaketKumar-3869 ,

Is Teams-insider package works for you?

0 Votes 0 ·

Hi,

There is no issue with anyone in my organization.

I can login to the web client, also in the Teams Insider package & Mobile app. But not in the Official Linux Client.



0 Votes 0 ·

Hi @SaketKumar-3869 ,

In this case, we recommend you try to reinstall your Teams for Linux manually by following this command:

 curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
     
 sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main" > /etc/apt/sources.list.d/teams.list'
     
 sudo apt update
 sudo apt install teams
0 Votes 0 ·
HP-0403 avatar image
4 Votes"
HP-0403 answered MichaelFrimpong-2100 published

I had the same issue and it was the timezone on my virtual pc was not synced thus SSO for Teams and Lastpass were not working. I set up the timezone & syncd the time/clock and it worked.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Worked for me, I have Manjaro Linux KDE edition and the time on my system was ahead by 2 hours and not synced with the real time, by setting the time to ( set Date and Time automatically), it synced and I was able to sign in to Microsoft Teams ... Thanks :)

In addition, I wasn't able to Sign In to [www.jumia.com.eg] website on Firefox with an error message of (csrf-invalid), but after syncing the time correctly, I was also able to sign in successfully



1 Vote 1 ·

Thank you so much! this exactly worked for me.

0 Votes 0 ·

It works!! You save my day. Thank you very much bro.

0 Votes 0 ·

That fix my problem. Just change the timezone putting the right one and it worked. Thank you!!!

0 Votes 0 ·

Thank you, that works for me.

0 Votes 0 ·
MathiasMeierNilsen-3270 avatar image
0 Votes"
MathiasMeierNilsen-3270 answered MathiasMeierNilsen-3270 commented

I have this problem. it used to work but suddenly it refuses to let me in to either client or browser. It does work on windows still and on my phone. but Ubunto 20.04 refuses..48246-screenshot-from-2020-12-15-09-52-22.png
This is for a work acc so i cannot turn off two factor auth


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for the answer. I ended up figuring out that it was a timezone difference between my location, ubuntu and the two factor authentication. Yet the error did not indicate this at all. This was purley trial and error.

0 Votes 0 ·