microsoft / microsoft/winget-pkgs

Microsoft Teams (work or school) "New" and Microsoft Teams Classic appear to have same ID when using update

Open
#150,501 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Help-Wanted Issue-Task Package-Update
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Brief description of your issue

Microsoft Teams "New" and Microsoft Teams Classic appear to have same ID when using update. There are others bugs with similar issues but with Teams site wide installer and not Classic and the "new" work and school version. Both classic and "new" Microsoft Teams are installed on the system. Winget produces the following when running winget update which indicates Teams classic and new Teams appear to have the same ID.

The following packages have an upgrade available, but require explicit targeting for upgrade:
Name                    Id              Version     Available            Source
-------------------------------------------------------------------------------
Microsoft Teams classic Microsoft.Teams 1.7.00.6058 24074.2321.2810.3500 winget
winget list --id teams
Name                             Id                   Version              Available            Source
------------------------------------------------------------------------------------------------------
Microsoft Teams classic          Microsoft.Teams      1.7.00.6058          24074.2321.2810.3500 winget
Microsoft Teams                  Microsoft.Teams.Free 24060.3102.2733.5911                      winget
Microsoft Teams (work or school) Microsoft.Teams      24074.2321.2810.3500                      winget
Steps to reproduce

Winget update is run.

Expected behavior

Winget to update Microsoft Teams Classic

Actual behavior

Winget is attempting to update Microsoft Teams Classic to "new" Microsoft Teams but that is already installed on system.

Environment
Windows Package Manager v1.7.10861
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.3447
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10861.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with winget update and winget list --id teams on the stated Windows Package Manager version. Compare the identifiers and installed versions for Microsoft Teams classic and Microsoft Teams (work or school); done means the two products are handled as distinct packages during update without targeting one as the other.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.