[Workspaces] MS Teams was captured, but doesn't launch
Microsoft PowerToys version
0.84.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Workspaces
Steps to reproduce
- Capture MS Teams
- Launch MS Teams
✔️ Expected Behavior
It to launch MS Teams
❌ Actual Behavior
It does not launch MS Teams, showing a yellow warning icon
Other Software
- Windows 10
Still present in v0.84.1
@bergamin please retest with the new 0.87 PT version and if the issue persists send a /bugreport. Thanks!
@donlaci, still not opening. ~The alert icon isn't present anymore, though~
/bugreport
Edit: it now shows the alert again
@donlaci, check this out... By chance I saw a similar issue occurring with Slack. If my memory serves well, I think both are Electron apps. In the Slack issue (#36672), they mention that the .exe is duplicate in the workspaces.json file, so I checked what it shows for MS Teams and it's even more puzzling:
I use Vivaldi as my default browser. Maybe instead of packaging a browser within the Electron app, MS chose to use the user's default browser to launch the app? I'm really confused. I also have a MS Teams PWA set up, but it was not recorded. I recorded the actual app.
For reference, this is what a recorded PWA looks like (it doesn't work with Vivaldi (#34572), but just for reference):
And this is what Vivaldi itself looks like:
@bergamin Thank you for helping to solve the issue!
I don't have an explanation for the issue, but there are some facts:
The PWA apps are implemented currently only for edge and chrome, not for vivaldi. Both, edge and chrome use edge_proxy.exe and chrome_proxy.exe with a pwa_app_id as parameter to launch a pwa (inside the browser).
The MS Teams in the workspace.json file looks like as if it would be launched as a PWA under vivaldi. Which currently is not supported, sorry for that.
If the MSTeams is a "normal", non-PWA app, it should launch and we will check why it does not, if you send us a bugreport.
If the MSTeams is a PWA app under vivaldi, then you might be able to fix it manually as a temporaly workaround, sorry for the inconvenience.
If you have a desktop shrotcut for the MSTeams app, you will find the vivaldi_proxy.exe as the target and also you will find the cli args needed for the launch. You can edit your workspaces.json file: remove the \\ms-teams.exe from the application-path (and have the vivaldi_proxy.exe) and add the args too. Basically "copy" the desktop shortcut. It might work. (I am not familiar with vivaldi, so if it won't work, then take my appology).
Thanks!
Yes, I'm as puzzled as you are. It's not a PWA and this issue is the bug report. Also, Windows doesn't let me see the shortcut details for MS Teams, neither on the taskbar nor on the Start menu, so I have no idea where it's actually installed at.
I guess it's worth mentioning that this MS Teams installation was automatic after a reestructuration of Teams. The old one is still installed under the name "Teams Classic".
Yes, I know Vivaldi PWAs don't work with Workspaces. That's why I mentioned it just to clarify that in this case it's not a PWA.
But I'll try your suggestion and fiddle with the shortcut target of the PWAs I have. These ones Windows do let me see the shortcut details.
I found it by using PowerToys Run (tested opening through Run to see if it would fill the taskbar shortcut and it is it)
It seems to be a MS Store app. MS Store is blocked in this PC. Could this be a clue?
Unfortunately I can't test this URL right now because of this other bug: #36749
@donlaci just to clarify, when you say "send a bug report", you mean like GitHub isn't the place for a bug report? is there another place to report?
@bergamin We prefer github.
You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Ah, I see. Thanks for the clarification. I was afraid you were going to tell me to use Feedback Hub 😆
Here it goes
@bergamin thanks for the feedback.
I think the problem is in your case, that you are trying to launch MS Teams as a PWA app inside the Vivaldi browser. Your workspaces.json file contains this:
"application-path": "C:\\Users\\10087138\\AppData\\Local\\Vivaldi\\Application\\vivaldi_proxy.exe\\ms-teams.exe",
Unfortunately the Vivaldi browser is not supported for PWA apps, only Edge and Chrome.
As a workaround (until Vivaldi support gets implemented) you might try:
- using a standalone MS Team app
- try to "fix" your workspaces.json file, located in
"C:\Users\ XXX \AppData\Local\Microsoft\PowerToys\Workspaces\workspaces.json"by replacing"application-path": "C:\\Users\\10087138\\AppData\\Local\\Vivaldi\\Application\\vivaldi_proxy.exe\\ms-teams.exe",to"application-path": "C:\\Users\\10087138\\AppData\\Local\\Vivaldi\\Application\\vivaldi_proxy.exe",and adding a cli argument with the app-id of your MSTeams PWA app. It will look like this"command-line-arguments": "--app-id=filomnlgoonmibfibajlilbckhkhifea",You cen get the app id from a shortcut, just create one shortcut for your MSTeams and look into shortcut properties. TheTargetfield should contain your app-id.
By the way, your workspace.json was created by the PT 0.84 tool, I would recommend to update PT to the latest version and re-create your workspaces, many things were added racently. Good luck!
Hello, @donlaci. The MS Teams that was recorded was not the PWA version. If it were, triggering the workspace would open a Vivaldi window like it happens to Spotify and Outlook.
Maybe because I have a PWA version as well, the workspace could be recording it wrong, mixing up the two...
I'll try recording just MS Teams and something else that's not Vivaldi or a PWA to see if it helps
@bergamin Thanks for your feedback. It helps. In this case, would you be please update to PT 0.88, retest the scenario (snapshotting MSTeams, launching) and if the issue persist, send an updated bugreport? Thanks!
PowerToysReport_2025-02-21-14-14-44.zip
BTW, I think it would be very helpful if the bug report thing told the user it can take a couple minutes to generate, because I clicked the thing like 3 or 4 times before the dialog appeared and was ready to report it not generating bug reports as a bug
@bergamin Thenk you for the bugreport and for the record too!
@bergamin
Thanks for the bug report!
The short answer:
I can propose a temporaly workaround to unblock you launching MSTeams:
In your workspaces.json file located in "C:\Users\ XXX \AppData\Local\Microsoft\PowerToys\Workspaces\workspaces.json" you can search for your MSTeams app and replace the app path from the wrong:
"application-path": "C:\\Users\\10087138\\AppData\\Local\\Vivaldi\\Application\\vivaldi_proxy.exe\\ms-teams.exe",
to the real one, which is on my mashine:
"application-path": "C:\\Program Files\\WindowsApps\\MSTeams_25017.203.3370.1174_x64__8wekyb3d8bbwe\\ms-teams.exe",
The magic numbers might be different for you depending on whan was it last updated.
The long answer: For some reason the snapshotting tool fails to find the right MSTeams.exe (and seems to find it under your vivaldi apps folder) and makes a mess. If you would be so kind and spend a few minutes to answer a few questions, I would try to chek what was gone wrong. I would like to know (if there would be some private data feel free to not answer):
- which directories are in the directory
c:\Users\ XXX \AppData\Local\Google\Chrome\User Data\Default\Web Applications\ - which directories are in the directory
c:\Users\ XXX \AppData\Local\Microsoft\Edge\User Data\Default\Web Applications\FYI: those are the directories where the PWA web apps for Edge and Chrome are stored. I would like to find the web app with the idcfnchplgekamgkgmpalagmnncplgolgg, but the 2 lists are enough for me, I'll do the search. Actualy if you would find a similar app list for Vivaldi, would be great. Theoretically should be somewhere inc:\Users\ XXX \AppData\Local\ ?Vivaldi? \ ?Vivaldi? \User Data\Default\Web Applications\
My "Edge PWA content" is:
Thanks in advance!
@donlaci,
I used to use PWAs on Edge before installing Vivaldi, but I don't remember setting up PWAs on Chrome. I'm a software developer so I tend to keep Chrome and Firefox clean and use a third browser for daily stuff. The third browser was Opera, which doesn't support PWAs, so I used to use them on Edge because of that. It was the only reason why I used Edge. But now I moved most of my main PWAs to Vivaldi and stopped using both Opera and Edge
I would just like to add that today, when checking it again, the icon for MS Teams changed to this:
So I recorded it again, only saving MS Teams to the recording to test something. workspaces.json before launching:
After launching:
Paraphrasing a contemporaneous philosopher: I AM CONFUSION!