question

DerekJames-8515 avatar image
3 Votes"
DerekJames-8515 asked EnricoWeigeltmetuxITconsult-4860 commented

Teams desktop on Linux - bad request

Using Microsoft Teams desktop app (teams_1.3.00.16851_amd64) on Linux Ubuntu 20.04 - app fails to start with

Bad Request - Invalid URL
HTTP Error 400. The request URL is invalid.

Web app works fine - and the desktop app has worked in the past - only for a few hours - but now fails on every startup.

office-teams-linux-itpro
· 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've now had 3 more abortive attempts to fix this - thanks to all 3 for the suggestions. I've made no progress and I think I've invested enough time in testing a product that is evidently not fit for purpose.

I've just backed out teams desktop and will revert to the web-client.

It all makes me think that Microsoft's support for Linux is marketing BS - but I'm a 35-year Unix bigot, I first used Xenix in 1985.

2 Votes 2 ·

Teams 1.3.00.16851_amd64 now working as expected.

I re-installed the app from the Ubuntu repositories -

sudo apt install teams

Clicked on a meeting link and bingo it all came to life - no idea what I did different from last week - but problem appears resolved.

1 Vote 1 ·

I am glad to hear your issue has been resloved and thanks for your sharing your solution about it!

Have a nice day!

0 Votes 0 ·

I believe Itś a permission problem in some files when the instalation is made through a not root user.

Try to start the app using "sudo teams"

It solved this problem to me.

I'll try to locate the exact file which is necessary a permisson correction.

0 Votes 0 ·

SOLVED
Just remove ~/.config/Microsoft/Microsoft Teams
Then restart the desktop app

0 Votes 0 ·
ManuPhilip avatar image
0 Votes"
ManuPhilip answered EnricoWeigeltmetuxITconsult-4860 commented

Hi,

Please follow the steps to install Teams in Linux successfully

  1. Obtain the URL and pull the binary using wget
    wget https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.3.00.5153_amd64.deb

  2. install Teams using APT package manager

apt install ./teams_1.3.00.5153_amd64.deb

  1. Once the App is installed, you can either launch Teams App from activities or from terminal by simply typing teams


Please mark as "Accept the answer" if the above steps helps you. Others with similar issues can also follow the solution as per your suggestion

Regards,

Manu

· 2
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.

Tried this option - 1.3.00.5153_amd64. was a downgrade, the downgrade triggered an update to the latest version - but I tried teams before I upgraded. Still gives a Bad Request - same error.
I then upgraded the package to 1.3.00.16851_amd64 - still the same Bad request.

Thanks for the suggestion - still no progress.

2 Votes 2 ·

DONT do this on your production machine - it messes with the apt config and gives MS FULL CONTROL over your system - they can silently replace everything on your machine with next update ! (or at least you have to clean up the dirt afterwards)

Instead put it into a container.

Note: deb packages are NOT meant to be installed from outside the distro, especially never from untrusted sources.

0 Votes 0 ·
MichaelMassee-9029 avatar image
0 Votes"
MichaelMassee-9029 answered DerekJames-8515 commented
· 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.

That was the version I had installed - installed by clicking the downloaded link - so using gdebi.

I tried Manu's suggested old version, then upgraded to the latest 16851 - still getting the same Bad Request result. I tried installing the 16851 package with apt install.

I've seen the package work - but only on Sat am (4 July)- but it has failed consistently since.

sudo apt install ./teams_1.3.00.16851_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'teams' instead of './teams_1.3.00.16851_amd64.deb'
The following NEW packages will be installed
teams
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.

All ran to completion - would 20.04 be the source of the problem?

I haven't rebooted since either of the installs today - but I doubt that would make a difference. I did reboot after the initial failure.



1 Vote 1 ·
JimmyYang-MSFT avatar image
0 Votes"
JimmyYang-MSFT answered DerekJames-8515 commented

Hi Derk!

You can try to install the insiders to see if can be fixed.

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

· 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.

I tried the insider version of 1.3.00.16851, Gdebi complained but let me install it, no change.

Thanks for your help but I've invested enough time in this now - I'll back out teams and go back to using the web-client.

2 Votes 2 ·
HunahpuVM avatar image
0 Votes"
HunahpuVM answered MarkBaaijens-4210 published

The problem started on my team after I signed up for teams, before that I didn't have any errors. I do not know if this information helps them to solve it.

I paste the error log:

19080-errorlog.txt



errorlog.txt (75.5 KiB)
· 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.

This looks interesting: -- error -- Error occurred while saving env_config.json
This is definitely a permission issue, b/c 'sudo teams' solves the bad request problem

0 Votes 0 ·