Install Microsoft Teams App from Windows 11 Microsoft Store | WPM Using WinGet

Let’s see how to install Microsoft Teams App from Windows 11 Microsoft Store. This post also goes through the details of Winget way of Teams installation. Microsoft Teams app is available on Windows 10/11 Microsoft Store.

Let’s also find the interesting facts on TEAMS MSIX application and SQLite Data Base Files used with the Windows Package Manager (WPM) WinGet command-line tool application installation method as part of the troubleshooting section.

You can now install Microsoft Teams for Work or School application using the WinGet (Windows Package Manager) command. Microsoft program manager Mik Chernomordikov announced the release of Microsoft Teams via Twitter!.

Don’t get confused with this Teams release, and the Microsoft Windows Chat application is the lighter version of Teams already available as a built-in app on Windows 11 devices. This Microsoft Teams version is only for work or school accounts.

Patch My PC

I have checked the Windows Package Manager (WPM) and found the Microsoft Teams app there. I will cover the installation steps that you need to follow if you want to Install the Teams app using the WinGet command-line tool.

You can now sync Microsoft Teams from the Windows store app with Intune and deploy this application. I don’t recommend using this option because Microsoft Store for Business is retired in early 2023, and this solution won’t be useful after that.

Microsoft Teams app is available on Windows 10/11 Microsoft Store

At last, after waiting for many months/years, the Microsoft Teams app is made available on Windows 10/11 Microsoft Store. I don’t think there are any changes in the application, and it’s just the same version of the application as it’s available from Microsoft Download.

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 1
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 1

Microsoft Teams App for Work or School is Available Windows Package Manager

Let’s check whether Microsoft Teams App for Work or School is Available on Windows Package Manager (WPM) or not. To search the Microsoft Teams application’s availability on WPM, you need to use the WinGet command-line tool.

Adaptiva

The following is the command I used to search the Microsoft Teams availability in Windows Package Manager Repository. As per the search results, Microsoft Teams is also available in the WPM repository.

winget search "Microsoft Teams"

The msstore source requires that you view the following agreements before using. I agreed to all the source agreements terms by entering the letter “Y“. This agreement is required to show the content from Microsoft Store on Windows 11/10 devices.

  • Microsoft Teams XP8BT8DW290MPQ Unknown msstore
  • Microsoft Teams Microsoft.Teams 1.5.00.11163 winget
  • Microsoft Teams Continuous Deployment Microsoft.Teams.ContinuousDeployment 1.5.00.13288 winget
  • Microsoft Teams Preview Microsoft.Teams.Preview 1.5.00.11865 winget
  • Microsoft Teams Exploration Microsoft.Teams.Exploration 1.5.00.13238 winget

NOTE! – The top two results of the search are important for us. One version is coming from Microsoft Store, and the app ID is the same as the ID (XP8BT8DW290MPQ) mentioned Teams app from Microsoft Store URL.

Check out the Teams app version number mentioned in the search results, including 1.5.00.11163. Ideally, this is the Teams app version that should be installed. I have added a screenshot below to confirm this.

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 2
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 2

Install Microsoft Teams App Manually from Windows 10/11 Microsoft Store

Let’s Install Microsoft Teams App Manually from Windows 10/11 Microsoft Store. You must be logged into Microsoft Store to get this application installed. You can click on the Install button, as shown in the above section.

NOTE! – I have successfully installed the Microsoft Teams app from Microsoft Store without any login from Windows 11 Hybrid Domain Joined PC.

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 3
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 3

As per my testing, the Teams app for Work or School got installed on the Windows 11 devices within 20-30 seconds (I used Windows 365 Cloud PC for this testing).

After the Microsoft Teams installation, the application got launched automatically and logged with my corporate user name and password (auto-login on Hybrid Azure AD joined Windows 11 PC).

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 4
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 4

Install Microsoft Teams using WInget Command from Windows Package Manager

Install Microsoft Teams using WInget Command from the Windows Package Manager repository. You can use any of the following commands to install Microsoft Teams.

Winget Install --id Microsoft.Teams
Winget Install --silent --id Microsoft.Teams
Winget Install --silent --accept-source-agreements --id Microsoft.Teams

As you can see in the below screenshot, I have used the following command to install the latest Microsoft Teams version on Windows 10/11 device.

Winget Install --silent --accept-source-agreements --id Microsoft.Teams

Finding the Microsoft Teams [Microsoft.Teams] Version -> 1.5.00.11163.
License Details are being checked -> This application is licensed to you by its owner.
License or Legal statement -> Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading Teams package from Teams CDN -> https://statics.teams.cdn.office.net/production-windows-64/1.5.00.11163/Teams_windows_x64.exe
The size of the Teams package that gets downloaded -> is 120 MB.

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 6
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 6

The two steps are performed as part of Microsoft Teams installation using the Winget command-line tool.

Verifying Teams Installer Hash -> Successfully verified installer hash.
Teams Installation Started -> Starting package install…

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 7
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 7

As you can see in the screenshot below, the Microsoft Teams is installed from the Windows Package Manager repository using the Winget command as explained above. I see some differences in the behavior after Teams install. I have explained this in the below section.

Successful installation Message of Microsoft Teams -> Successfully installed.

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 8
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 8

End-User Experience of Microsoft Teams Install from Store and Windows Package Manager

Let’s look at the End-User Experience of Microsoft Teams Install from Microsoft Store and Windows Package Manager.

The Teams application was installed successfully on Windows 11 device, and the version is 1.5.00.11163. I couldn’t find the AVD media optimization enabled on this Teams version because the Teams install from the store won’t install the prerequisite application.

Teams app didn’t get launched automatically after the Winget command-line tool installation. I have to search for the app and launch it manually. Once launched, it’s auto-logged in with my work account.

NOTE! – You can use Intune to install Microsoft Teams from Windows Package Manager Repository (using Winget and Powershell) and Microsoft Store integration. I have given two blog post articles o explain these scenarios.

Update – as Jason mentioned in the comments winget install Microsoft.Teams –scope Machine would another nice option to explore if you need a machine install of the Teams app.

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 5
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 5

Install Microsoft Teams using WinGet Troubleshooting with Winget Logs

Let’s check the installation workflow of Microsoft Teams using Winget log. You can check the Winget log files in the following location of Windows 10/11 devices.

%LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

The following are some of the important Winget Logfile snippets that help you understand the background installation process.

NOTE! – If you want to grab the MSIX copy of the Teams application to test the packaging standards, you need to capture it from the %LOCALAPPDATA%\Temp/WinGet/ -> Microsoft.Winget.Source_8wekyb3d8bbwe.msix

Downloading to path: C:\Users\anoopb\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
Started applying motw to C:\Users\anoopb\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
Finished applying motw
WinINet downloading from url: https://winget.azureedge.net/cache/source.msix
Download completed.
Starting AddPackage operation #0: file:///C:/Users/anoopb/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 9
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 9

The following is the WinGet downloading URI from the Azure Edge location. The YAML file contains CDN location details of Microsoft Teams source files. It’s interesting to see only MSI and EXE versions of Microsoft Teams in this CDN location.

WinINet downloading from url: https://winget.azureedge.net/cache/manifests/m/Microsoft/Teams/1.5.00.11163/5ea7-Microsoft.Teams.yaml

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 10
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 10

I see that the actual installation uses the Teams_Windows_x64.exe file instead of MSIX. Starting: ‘C:\Users\anoopb\AppData\Local\Temp\WinGet\Microsoft.Teams.1.5.00.11163\Teams_windows_x64.exe‘ with arguments ‘/s‘.

Started applying motw to C:\Users\anoopb\AppData\Local\Temp\WinGet\Microsoft.Teams.1.5.00.11163\9ccad9e1d6a24821aa01a976fb956fdd09b800baeb79c27ca86ba587e06c5922 with zone: 2
Finished applying motw
Successfully renamed downloaded installer. Path: C:\Users\anoopb\AppData\Local\Temp\WinGet\Microsoft.Teams.1.5.00.11163\Teams_windows_x64.exe

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 11
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 11

FIX SQL-related (SQLite) Error for Winget

Let’s look into FIX SQL-related (SQLite) Error for Winget. If you encounter any SQL-related (SQLite) errors with WinGet command-line tools, it’s worth deleting the DB files associated with that installation and trying the installation again. This should normally fix the installation errors with Winget command-line tool.

The the DB file location for Microsoft Teams on Windows 11 Devices is given below -> %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\

Creating new SQLite Index [4294967295.4294967295] at ‘C:\Users\anoopb\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db’
Opening SQLite connection: ‘C:\Users\anoopb\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db’ [6, 0]
Opening SQLite Index for ReadWrite at ‘C:\Users\anoopb\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db’
Opening SQLite connection: ‘C:\Users\anoopb\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db’ [2, 0]

Install Microsoft Teams App from Windows 11 Microsoft Store - Using WinGet 12
Install Microsoft Teams App from Windows 11 Microsoft Store – Using WinGet 12

Author

Anoop C Nair is Microsoft MVP! He is a Device Management Admin with more than 20 years of experience (calculation done in 2021) in IT. He is Blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. He writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc.

6 thoughts on “Install Microsoft Teams App from Windows 11 Microsoft Store | WPM Using WinGet”

  1. It looks like “–scope Machine” allows installing Teams in “C:\Program Files (x86)\Teams Installer” so it will auto deploy for all users on a shared machine. Very helpful in education.
    Now I just hope it auto updates. If not, there’s always https://github.com/Romanitho/Winget-AutoUpdate

    winget install Microsoft.Teams –scope Machine

    Reply
  2. Is there a way using Winget to install Teams machine-wide with the the equivalent of noautostart=true as an argument. As in the Msi Install: Start-Process -FilePath “msiexec” -ArgumentList “/i D:\Teams_windows_x64.msi OPTIONS=`”noAutoStart=true`” ALLUSERS=1″ -Verb RunAs

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.