Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Classic Teams will soon be unavailable for use" warning header #1156

Open
rslagmolen opened this issue Mar 26, 2024 · 98 comments
Open

"Classic Teams will soon be unavailable for use" warning header #1156

rslagmolen opened this issue Mar 26, 2024 · 98 comments
Labels

Comments

@rslagmolen
Copy link

Describe the bug
Since this morning, this build of teams start with a warning header :
Classic Teams will soon be unavailable for use. To use the new Teams, update your browser to meet requirements or contact your IT admin. See requirements

NB: I'm still on 1.4.14 as the 1.4.15 is not yet in the AUR

To Reproduce
Simply open the client

Expected behavior
We should be on the new Teams (if possible)

Screenshots
Screenshot from 2024-03-26 11-13-55

Desktop (please complete the following information):

  • OS: GNU/Linux - Manjaro (based ArchLinux)
  • Installation package: AUR (it use the tar.gz source archive then build from source using "yarn electron-builder")
  • Version: 1.4.14
@elhennig
Copy link

Same here, see #1141

@jbauerrfid
Copy link

I am getting the same deprecation warning as well:

  • OS: Ubuntu 22.04 LTS
  • app: teams-for-linux 1.4.14, provided by snap

It would be sad to lose teams-for-linux, I really like it, and I don't want to use the PWA from Microsoft.

@bymck
Copy link

bymck commented Mar 26, 2024

I have the same problem.
Classic Teams will soon be unavailable for use. To use the new Teams, update your browser to meet requirements or contact your IT admin. See requirements

@ChristoSnake
Copy link

I used this method (shared in various threads here) to force Teams v2.

Right-click the Teams icon in the taskbar, then select the Debug option. Select the Console tab at the top of the debug screen. Type the following in the console at the bottom of the debug screen, then hit Enter:

document.location.href = 'https://teams.microsoft.com/v2/'

If that does not work, follow the same steps but type both of the following commands (with an Enter after each):

window.localStorage.setItem("tmp.isOptedIntoT2Web", true)
document.location.href = 'https://teams.microsoft.com/v2/'

It should automatically load Teams v2 after a restart..

@grizewald
Copy link

Same message for me, with the latest 1.14.15 version of Teams for Linux
but fixed by the second set of commands in ChristoSnake's message.
Thanks!

@christoph-teichmeister
Copy link

christoph-teichmeister commented Mar 27, 2024

I used this method (shared in various threads here) to force Teams v2.

Right-click the Teams icon in the taskbar, then select the Debug option. Select the Console tab at the top of the debug screen. Type the following in the console at the bottom of the debug screen, then hit Enter:

document.location.href = 'https://teams.microsoft.com/v2/'

If that does not work, follow the same steps but type both of the following commands (with an Enter after each):

window.localStorage.setItem("tmp.isOptedIntoT2Web", true)
document.location.href = 'https://teams.microsoft.com/v2/'

It should automatically load Teams v2 after a restart..

The fix proposed by @ChristoSnake worked for me! Thanks a lot! ❤️

@elhennig
Copy link

I used this method (shared in various threads here) to force Teams v2.

Right-click the Teams icon in the taskbar, then select the Debug option. Select the Console tab at the top of the debug screen. Type the following in the console at the bottom of the debug screen, then hit Enter:

document.location.href = 'https://teams.microsoft.com/v2/'

If that does not work, follow the same steps but type both of the following commands (with an Enter after each):

window.localStorage.setItem("tmp.isOptedIntoT2Web", true)
document.location.href = 'https://teams.microsoft.com/v2/'

It should automatically load Teams v2 after a restart..

Works for me. Is this is change persistent?

@dom976
Copy link

dom976 commented Mar 27, 2024

How can the debug option be accessed from Gnome with the Flatpak app version?

@christoph-teichmeister
Copy link

How can the debug option be accessed from Gnome with the Flatpak app version?

@dom976

image

@madzaf
Copy link

madzaf commented Mar 27, 2024

How can the debug option be accessed from Gnome with the Flatpak app version?

In teams, you can also press Alt and a gnome window menu will appear. The Debug menu is in "Application"

@christoph-teichmeister
Copy link

Alternatively, in Teams, hit CTRL+D

@dom976
Copy link

dom976 commented Mar 27, 2024

Thank you all, I cannot see the icon in the toolbar because an extension hides it. Anyway, both CTRL+D and Alt trick work.

@mburkeSencon
Copy link

As per other comments, I had this issue on the 1.4.15 version. Using the steps @ChristoSnake put out has fixed the issue.

Thank you!

@riccardo94p
Copy link

I used this method (shared in various threads here) to force Teams v2.

Right-click the Teams icon in the taskbar, then select the Debug option. Select the Console tab at the top of the debug screen. Type the following in the console at the bottom of the debug screen, then hit Enter:

document.location.href = 'https://teams.microsoft.com/v2/'

If that does not work, follow the same steps but type both of the following commands (with an Enter after each):

window.localStorage.setItem("tmp.isOptedIntoT2Web", true)
document.location.href = 'https://teams.microsoft.com/v2/'

It should automatically load Teams v2 after a restart..

This worked for me as well, thank you! 🥇

@ChristoSnake
Copy link

Works for me. Is this is change persistent?

Yes, it is.

Be aware that the taskbar icon will not show a notification count after switching. I'm using KDE's built-in notifications as a workaround:.

image

@jbauerrfid
Copy link

jbauerrfid commented Mar 27, 2024

I can confirm #1156 (comment) is working in the Teams snap on Ubuntu

Edit: it appears this also survives restarts of the Teams snap.

@jd-philips
Copy link

I'm getting this message in the web version under Linux. I'm on Fedora 39, Chrome 122.0.6261.128 (Official Build) (64-bit). The requirements page don't mention browser requirements.

@Bartwillemsen
Copy link

The fix of @ChristoSnake works and is persistent, until you log out to switch account. I am working from 2 Teams accounts and whenever I need to switch I also need to apply the V2 fix again.

Can't this fix somehow be integrated in Teams for Linux? Because without it, soon the application will not work out of the box.

@jd-philips
Copy link

I can't believe Microsoft is in the midst of removing ALL SUPPORT for Linux, even in the web version. Just goes to show that they haven't changed at all.

@jbauerrfid
Copy link

jbauerrfid commented Mar 27, 2024

I see it in our company:

  • all the management is working on Microsoft Windows and using Teams
  • all devs are working on Mac or Linux (UI prefers Mac, and backend prefers Linux), they use mostly Slack, and Teams only if they must because they don't like it

so Microsoft should consider why this is the case...

@antimatter84
Copy link

I can't believe Microsoft is in the midst of removing ALL SUPPORT for Linux, even in the web version. Just goes to show that they haven't changed at all.

I am confused. Where did you get the info that they would remove all Linux support? I thought the PWA was created for all sorts of operating systems.

@jd-philips
Copy link

I am confused. Where did you get the info that they would remove all Linux support? I thought the PWA was created for all sorts of operating systems.

I'm on the web version and I still got that message. It may be just a technical mistake by Microsoft.. but this is the requirements page I'm pointed to: requirements and I see a lot of references to unsupported OS. Hopefully Microsoft clarifies this.

@christoph-teichmeister
Copy link

christoph-teichmeister commented Mar 27, 2024

I'm on the web version and I still got that message. It may be just a technical mistake by Microsoft.. but this is the requirements page I'm pointed to: requirements and I see a lot of references to unsupported OS. Hopefully Microsoft clarifies this.

But if the fix suggested by ChristoSnake works for this Electron client, shouldn't you be able to just do the same in your browser and you're good to go again? 😄

Microsoft is not necessarily dropping any support for linux, it is "dropping support" for the Teams classic version

@jmergy
Copy link

jmergy commented Mar 27, 2024

confirmed here the debug commands worked. I have multiple organizations in Teams and looks good. Debian 12.5 on XFCE

window.localStorage.setItem("tmp.isOptedIntoT2Web", true)
document.location.href = 'https://teams.microsoft.com/v2/'

@misha-grigorov
Copy link

I'm on the web version and I still got that message. It may be just a technical mistake by Microsoft.. but this is the requirements page I'm pointed to: requirements and I see a lot of references to unsupported OS. Hopefully Microsoft clarifies this.

But if the fix suggested by ChristoSnake works for this Electron client, shouldn't you be able to just do the same in your browser and you're good to go again? 😄

Microsoft is not necessarily dropping any support for linux, it is "dropping support" for the Teams classic version

Thanks for the idea. I can confirm that the fix works for Linux PWA as well.

@ChristoSnake
Copy link

I'm on the web version and I still got that message. It may be just a technical mistake by Microsoft.. but this is the requirements page I'm pointed to: requirements and I see a lot of references to unsupported OS. Hopefully Microsoft clarifies this.

It seems that they support Firefox (except WPA) and Chrome/Edge (including WPA):
image

This extension will do the trick if you really want to run it as a Firefox WPA.

@jd-philips
Copy link

But if the fix suggested by ChristoSnake works for this Electron client, shouldn't you be able to just do the same in your browser and you're good to go again? 😄

The issue is not whether or not the fix works, the fix should work in the browser though for the web app I'm assuming you load it from ms servers every time (more or less). The issue is: is this a sign that Microsoft is dropping Linux support altogether?

Microsoft is not necessarily dropping any support for linux, it is "dropping support" for the Teams classic version

The requirements page it is pointing me to isn't mentioning Linux or a path forward for me using their web app. It might just be confusing Microsoft language but it's suspicious.

@jd-philips
Copy link

It seems that they support Firefox (except WPA) and Chrome/Edge (including WPA): image

This extension will do the trick if you really want to run it as a Firefox WPA.

where did you see this?

@jijojosephk
Copy link
Collaborator

Trust the devs here 😄 we'll find something out. The app will not stop. It will have the basic functionality. At least clearing the local storage and start over. The new teams will be loaded. But just like I mentioned you can do the basic things like in the web browser, we'll study the react implementation and fix the broken pieces. Until then relax 👍

@aaronfjerstad
Copy link

aaronfjerstad commented Apr 3, 2024

I used this method (shared in various threads here) to force Teams v2.

Right-click the Teams icon in the taskbar, then select the Debug option. Select the Console tab at the top of the debug screen. Type the following in the console at the bottom of the debug screen, then hit Enter:

document.location.href = 'https://teams.microsoft.com/v2/'

If that does not work, follow the same steps but type both of the following commands (with an Enter after each):

window.localStorage.setItem("tmp.isOptedIntoT2Web", true)
document.location.href = 'https://teams.microsoft.com/v2/'

It should automatically load Teams v2 after a restart..

This is a good short-term solution, but doing this causes Teams to silently crash on almost a daily basis.

@IsmaelMartinez
Copy link
Owner

1.4.17 pre-release has this as a config option. Can you open another ticket with the crash information and any steps to reproduce? Ideally with debug logs (from starting the app with --webDebug and whatever you get on the terminal window). Ta

@jhoermann
Copy link

Thanks @IsmaelMartinez and @mhenselin for the update. So those are the steps to use it with Ubuntu & Snap currently:

  1. Update to the edge channel of the snap with sudo snap refresh teams-for-linux --edge
  2. Set the config option optInTeamsV2 to true by editing the config file ~/snap/teams-for-linux/current/.config/teams-for-linux/config.json with { "optInTeamsV2": true } . For more info see https://github.com/IsmaelMartinez/teams-for-linux/tree/develop/app/config.

@araccaine
Copy link

araccaine commented Apr 4, 2024

  1. Update to the edge channel of the snap with sudo snap refresh teams-for-linux --edge

The Flatpak is still on version 1.4.13. Is it reasonable to wait a few days longer or should I just switch to the snap version? Thx :)

Edit:
Nevermind, I see you are already working on it. Big thank you!
#1174
PR #96

@elhennig
Copy link

elhennig commented Apr 4, 2024

  1. Update to the edge channel of the snap with sudo snap refresh teams-for-linux --edge

The Flatpak is still on version 1.4.13. Is it reasonable to wait a few days longer or should I just switch to the snap version? Thx :)

You could also use the AppImage instead with almost no extra effort to run it (besides +x permissions).

@IsmaelMartinez
Copy link
Owner

for the flathub, see #1151 . We are working on it and it should be released at some point, but is now on the flathub side as they review each release manually.

@geckolinux
Copy link

Looks like 1.4.16 made it into Flathub:


image

image

However just FYI after restarting Teams I'm still getting the warning header described in this issue, and no toggle to switch to v2. I know I can manually switch the Teams URL to v2 in the debug settings, but I'd prefer to stick to the the classic version for now because #1172 is a major issue for my needs. But it looks like there's still a bit of time left, at least for my account, as my IT department has notified us that classic Teams will continue to work through the end of June. Not sure why others have reported that classic Teams stopped working already for them.

@SRNissen
Copy link

SRNissen commented Apr 5, 2024

For reference, the problem is (probably) not local to this project

I use teams as a website in plain Chromium* and I get the same banner message (Searching for solutions to use in Chromium is how I found this issue tracker.)

* I'm on Version 123.0.6312.86 (Official Build) (64-bit)

@IncandescentChrysalis
Copy link

With v1.4.17 I had to specify the added config option to get into v2 again: I was by default reverted to v1, following the quick & dirty fix provided early in this issue

@newptcai
Copy link

newptcai commented Apr 8, 2024

web

I just figured out that for web version you can directly go to https://teams.microsoft.com/v2/
This is the new version and seems to work well in Firefox. 😄

@jijojosephk
Copy link
Collaborator

web

I just figured out that for web version you can directly go to https://teams.microsoft.com/v2/
This is the new version and seems to work well in Firefox. 😄

Are you using Firefox or this app?

@juandavidg890121
Copy link

Thanks @IsmaelMartinez and @mhenselin for the update. So those are the steps to use it with Ubuntu & Snap currently:

  1. Update to the edge channel of the snap with sudo snap refresh teams-for-linux --edge
  2. Set the config option optInTeamsV2 to true by editing the config file ~/snap/teams-for-linux/current/.config/teams-for-linux/config.json with { "optInTeamsV2": true } . For more info see https://github.com/IsmaelMartinez/teams-for-linux/tree/develop/app/config.

what to do if config file ~/snap/teams-for-linux/current/.config/teams-for-linux/config.json does not exist

@andreaippo
Copy link

Thanks @IsmaelMartinez and @mhenselin for the update. So those are the steps to use it with Ubuntu & Snap currently:

  1. Update to the edge channel of the snap with sudo snap refresh teams-for-linux --edge
  2. Set the config option optInTeamsV2 to true by editing the config file ~/snap/teams-for-linux/current/.config/teams-for-linux/config.json with { "optInTeamsV2": true } . For more info see https://github.com/IsmaelMartinez/teams-for-linux/tree/develop/app/config.

what to do if config file ~/snap/teams-for-linux/current/.config/teams-for-linux/config.json does not exist

I think you can just create it.

That's what I read in some README of the project, IIRC.

@geckolinux
Copy link

what to do if config file ~/snap/teams-for-linux/current/.config/teams-for-linux/config.json does not exist

I think you can just create it.

Yep, that's what I had to do: #1172 (comment)

@newptcai
Copy link

newptcai commented Apr 9, 2024

web

I just figured out that for web version you can directly go to https://teams.microsoft.com/v2/
This is the new version and seems to work well in Firefox. 😄

Are you using Firefox or this app?

I am using Firefox. For Chromium it does not seem to work. I get redirected to the old version.

@IsmaelMartinez
Copy link
Owner

Hi @newptcai , nice to know but I would appreciate it if we just keep this for the teams-for-linux app, as otherwise it gets really confusing. Thanks again

@andreaippo
Copy link

Hi, I keep getting the banner proposing to enable the new version, but although I keep doing that, it seems that at each restart the setting is lost, I go back to v1 and see the banner again.

I don't recall having this problem with the previous version (I'm using the flatpak package), where I was just applying the workarounds suggested in the debugger.

Any ideas?

@IsmaelMartinez
Copy link
Owner

IsmaelMartinez commented Apr 11, 2024 via email

@andreaippo
Copy link

I think all versions of this app default to v1 but you can opt in to V2. Just create a config file with the optIn..., useMutation... and url ending in /v2 and let us know if that sorts your problem. Be aware that Flatpack is a bit behind (I don't think the useMutation.. is there yet) and the config file is in another location

On Thu, 11 Apr 2024, 08:19 Andrea Ippolito, @.> wrote: Hi, I keep getting the banner proposing to enable the new version, but although I keep doing that, it seems that at each restart the setting is lost, I go back to v1 and see the banner again. I don't recall having this problem with the previous version (I'm using the flatpak package), where I was just applying the workarounds suggested in the debugger. Any ideas? — Reply to this email directly, view it on GitHub <#1156 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJHEEHFUQE4ZSQ5IUP4N3Y4Y2OZAVCNFSM6AAAAABFIUDCHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBZGA3DSNZSGM . You are receiving this because you were mentioned.Message ID: @.>

Thanks, my config.json now looks like this, I'll monitor the situation for the V1 banner in the next days:

{
    "followSystemTheme": true,
    "optInTeamsV2": true,
    "url": "https://teams.microsoft.com/v2/"
}

(file path for those interested, at least on opensuse: ~/.var/app/com.github.IsmaelMartinez.teams_for_linux/config/teams-for-linux/)

@cl0ne
Copy link

cl0ne commented Apr 12, 2024

web

I just figured out that for web version you can directly go to https://teams.microsoft.com/v2/ This is the new version and seems to work well in Firefox. 😄

didn't work for me without setting
window.localStorage.setItem("tmp.isOptedIntoT2Web", true)

@SRNissen
Copy link

For reference, the problem is (probably) not local to this project

I use teams as a website in plain Chromium* and I get the same banner message (Searching for solutions to use in Chromium is how I found this issue tracker.)

  • I'm on Version 123.0.6312.86 (Official Build) (64-bit)

Recently I received a message on logging in.

I didn't think to write it down but it was something like "Your organization is moving to v2 click here to change."

Since then, things have been fine and the banner disappeared (from, again, the chromium website version of teams.)

So this'll be my last message here except: I hope your projects' issue will solve automatically as well.

@dxps
Copy link

dxps commented Apr 16, 2024

With the current version - at least 1.4.25 - this issue can be closed.
No need for CSS tweaks.

@jmcastagnetto
Copy link

jmcastagnetto commented Apr 17, 2024

FYI - the change described in #1156 (comment) is not persistent if you are using the Appimage version, and as of 1.4.27 the workaround is still need to be enter manually, unless you create the file ~/.config/teams-for-linux/config.json (Ubuntu 22.04LTS), using the info from #1156 (comment) which makes it a permanent workaround.

Works for me. Is this is change persistent?

Yes, it is.

Be aware that the taskbar icon will not show a notification count after switching. I'm using KDE's built-in notifications as a workaround:.

image

@jmcastagnetto
Copy link

jmcastagnetto commented Apr 17, 2024

With the current version - at least 1.4.25 - this issue can be closed. No need for CSS tweaks.

On Ubuntu 22.04LTS and using the Appimage for 1.4.27, the workaround mentioned in #1156 (comment) is still needed

Creating the file ~/.config/teams-for-linux/config.json, using the info from #1156 (comment) makes it a permanent workaround.

@IsmaelMartinez
Copy link
Owner

IsmaelMartinez commented Apr 18, 2024

@jmcastagnetto I would also add useMutationTitleLogic to the list of config options if you want to get the number of unread messages in the systray. At some point we will make them the default options, but only once v1 is been fully deprecated (and/or if we sort all the angular to react issues)

{
    "followSystemTheme": true,
    "optInTeamsV2": true,
    "url": "https://teams.microsoft.com/v2/",
    "useMutationTitleLogic": true
}

@dtantono
Copy link

v1 still available until July 2025. So, there is still lot of time for adjustment
https://learn.microsoft.com/en-us/microsoftteams/teams-classic-client-end-of-availability

@jmcastagnetto
Copy link

@dtantono Yes, but for some of the colleagues I work with, their institution has already migrated to the new API, and their setup is such that w/o the workaround mentioned here (#1156 (comment)), the Linux client would not be able to edit files in a collaborative manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests