Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Microsoft 365 / Teams / Fix: “Something Went Wrong” Error When Installing Teams

May 2, 2023 Microsoft 365TeamsWindows 10Windows 11

Fix: “Something Went Wrong” Error When Installing Teams

Microsoft recently released a new WebView2-based version of MS Teams for Windows. The switch from the Electron engine to WebView2 runtime has significantly improved the performance of Teams (almost doubled) and reduced the RAM usage (also almost doubled). However, when installing the new version of the Microsoft Teams client for Windows, the following errors may occur:

Something went wrong and we couldn't install the new Teams. Please try again later.

Or

We’re sorry - We’ve run into an issue.

The Microsoft 365 administrator can enable the Try the New Teams switch for specific Teams users.

To do that, you need to create a new policy under Teams Update in the Microsoft Teams admin center, and then assign it to specific users. Another option is to enable the policy using the Teams PowerShell module:

Connect-MicrosoftTeams
Set-CsTeamsUpdateManagementPolicy -identity DefaultTeamsPolicy -UseNewTeamsClient UserChoice

Can install new Microsoft Teams Client: Something went wrong
If a policy is assigned but the switch is still missing, try clearing the %appdata%/Microsoft/Teams folder.

Before you can install Teams, you need to make sure you have WebView2 Runtime installed on your computer. Open the PowerShell console and run the command:

Get-Package -name *WebView2* |ft -AutoSize
Check chat the WebView2 Runtime in installed on Windows

Name Version Source ProviderName ---- ------- ------ ------------
Microsoft Edge WebView2 Runtime 111.0.1661.62 Programs
Among other things, the WebView2 Runtime environment is used by the Microsoft Edge browser. For this reason, if you have uninstalled MS Edge from your computer, make sure you have not removed WebView2 along with it.

The built-in WinGet package manager allows you to install WebView2 from the command line:

winget install --id=Microsoft.EdgeWebView2Runtime -e

Check that the following Group Policy options are disabled or not configured on Windows to prevent the installation of the Teams MSIX package. Use the gpresult or rsop.msc command to get the resulting Group Policy settings on your computer. Check that the following options are not configured or disabled under Computer Configuration -> Windows Components -> Application Package Deployment:

  • Prevent non-admin users from installing packaged Windows apps
  • Allow all trusted apps to install

GPO that can prevent Teams from installing

These GPOs correspond to the following parameters in the HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Appx registry key:

  • BlockNonAdminUserInstall
  • AllowAllTrustedApps
  • AllowDevelopmentWithoutDevLicense

For example, if the value of BlockNonAdminUserInstall = 1, change it to 0, then restart the classic Teams client and try to install the new Teams.

2 comments
1
Facebook Twitter Google + Pinterest
previous post
Querying Windows Event Logs with PowerShell
next post
View Success and Failed Local Logon Attempts on Windows

Related Reading

How to Connect VPN Before Windows Logon

November 14, 2023

Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

November 7, 2023

Send Emails with Microsoft Graph API and PowerShell

November 6, 2023

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

2 comments

F. May 3, 2023 - 11:41 am

Does the new client work on windows server? If not, is there any way to enable MSIX installation?

Reply
F. May 3, 2023 - 1:02 pm

I’ll answer myself: it just works, nothing special required.

Reply

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Outlook Keeps Asking for Password on Windows
  • Checking User Sign-in Logs in Azure AD (Microsoft 365)
  • How to Manually Configure Exchange or Microsoft 365 Account in Outlook 365/2019/2016
  • Search and Delete Emails from User Mailboxes on Exchange Server (Microsoft 365) with PowerShell
  • Blank Sign-in Screen in Office 365 Apps (Outlook, Teams, etc.)
  • Fix: Microsoft Outlook Search Not Working on Windows 10/11
  • Removing Built-in Teams Chat in Windows 11
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top