Install new Microsoft Teams (version 2) in Citrix

The New Teams version (sometimes also called Teams 2.0) will become the new standard for Microsoft’s communication platform from July 1, 2024. On October 1, 2024, the Classical Teams client in the VDI context will reach its end of support and, according to the latest news, its end of availability date on July 1, 2025. These end dates have been adjusted several times in recent weeks.

Timeline VDI Clients

But the most important thing first:
The fact that New Teams is no longer offered via msi or exe package, but is only available as a UWP (Universal Windows Platform) app (MSIX package), the end-of-support and end-of-availability date for the Classical Teams client also marks the end of some operating system versions that may still be used as the basis for Citrix Worker.

The most prominent current victim is Windows Server 2016, for example, where the end-of-life date is currently set for January 12, 2027. However, since no UWP app can be integrated under Windows Server 2016, this operating system can no longer serve as a worker OS for Citrix if New Teams is also to be used there.

Prerequisites

Minimum Windows version:

  • Windows 10 (Version 10.0.19041)
  • Windows 11
  • Windows Server 2019 (10.0.17763)
  • Windows Server 2022 (10.0.20348)

Minimum Microsoft Edge WebView2 version:

  • Version 90.0.818.66

Minimum Citrix versions:

  • Citrix Workspace app Windows 2203 LTSR (or newer)
  • Citrix Workspace App Windows 2302 CR (or newer)
  • Citrix Workspace App Linux 2207
  • Citrix Workspace App Mac 2302
  • Citrix Workspace App Chrome/HTML5 2301
  • Citrix Virtual Delivery Agent (VDA) 2203 LTSR (or newer)
  • Citrix Virtual Delivery Agent (VDA) 2212 CR (or newer)
  • Citrix Virtual Delivery Agent (VDA) 1912 LTSR CU 6 (or newer) – However, not all features of the New Teams Client are supported!

Script based installation

Simply use my NeverRed script for this. All my latest discoveries regarding New Teams are added to the installation routine on a daily basis.

Installation New Teams

First, the prerequisites for installing the New Teams Client must be installed on the target device. To do this, Microsoft Edge WebView2 must be installed and sideloading for UWP apps must be activated.

Download MS Edge WebView 2 Runtime
  • Start the installation of Microsoft Edge WebView2
MS Edge WebView 2 Runtime
  • Activate sideloading on the worker, start an Administrative PowerShell and enter the following commands:
MSIX sideloading

It must also be checked that the .Net-framework is installed higher than version 4.8 (Windows Server 2019 & Windows 10) so that the Microsoft Teams Meeting Add-in for Microsoft Office can be installed.

  • Check the installed version on the worker by starting an Administrative PowerShell and enter the following command:

If the version is lower than 4.8, it must be updated before installing New Teams.

.Net-Framework Version <4.8
.Net Framework Download
  • Start the installation of .Net-Framework 4.8
.Net Framework
.Net Framework Download Install
  • After installing the .Net-framework, the system must be restarted
.Net-Framework Version >4.8

The New Teams Client is installed either directly via the MSIX package (Windows Server 2019 & Windows 10) or via Teamsbootstrapper Executable (Windows Server 2022 & Windows 11).

The method via the Teamsbootstrapper installation is the recommended version on Citrix Worker machines.

Important!
If there is still a Teams installation on the system, it must be uninstalled first.

  • Download the required installation files for the New Teams
Latest Teams MSIX version32 bit64 bit
Teamsbootstrapper (Windows Server 2022 & Windows 11)Download
  • Start the installation of the New Teams Client with the command for the underlying operating system

Windows Server 2019 & Windows 10

New Teams Install Windows 10 Windows Server 2019 DISM

Windows Server 2022 & Windows 11

New Teams Install Windows 11 Windows Server 2022 DISM

The New Teams installation must then be optimized for Citrix.

  • Start an Administrative PowerShell and enter the following command:
Regedit disableAutoUpdate

This is no longer necessary as of Citrix Virtual Apps and Desktops version 2402.

Regedit ProcessWhitelist

Installation Teams Meeting Add-in

The add-in still needs to be installed and configured so that you can continue to schedule Teams meetings via Microsoft Outlook.

  • Start an Administrative PowerShell and enter the following command:
Teams Meeting Add-in for Microsoft Office
  • After installation, the add-in must be registered by executing the following commands:

Profile solution

The following paths must be included in the New Teams:

  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbwe
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweSettingssettings.dat
  • %LocalAppData%Publishers8wekyb3d8bbweTeamsSharedConfigapp_switcher_settings.json
  • %LocalAppData%Publishers8wekyb3d8bbweTeamsSharedConfigtma_settings.json
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweAC
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweAppData
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweLocalCache
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweLocalState
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweRoamingState
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweSettings
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweSystemAppData
  • %LocalAppData%PackagesMSTeams_8wekyb3d8bbweTempState

The following profile solutions are supported:

  • Minimum FSLogix Version 2210 Hotfix 3
  • Minimum Citrix Profile Management Version 2308
    • Aktivierung vom UWP App Roaming Feature

Anti-Virus

The following anti-virus process exceptions must be stored for the New Teams:

  • ms-teams.exe
  • ms-teamsupdate.exe

Limitations

The following known topics and features are currently not available in New Teams in VDI:

  • Screen sharing from the chat for Citrix only when using Workspace app 2311
  • msteams_autostart.exe “The parameter is incorrect”: In non-persistent environments that use FSLogix (all versions prior to 2210 HotFix 4) or Citrix Profile Manager profile containers, the error is issued when new teams try to start automatically or when a user tries to start teams from the start menu
  • New Teams is not started by users who log in to non-persistent virtual desktops, or the application is not visible in the start menu
    • Admins do not have this problem – after installing new teams on the golden image, they can start it successfully
    • After sealing the golden image and deploying at scale (using provisioning tools such as Citrix MCS/PVS), users log in to the virtual machines and click on the new Teams icon but are unable to launch the app. The issue is caused by a failed registration of the MSIX package at user level with different profile management software (FSLogix before 2210 HotFix 4, Citrix CPM 2308 or 2311, but not on 2402 etc.), although the deployment of the package was successful (the OS saved the content of the package to disk in the %ProgramFiles%WindowsApps directory). This issue can be confirmed by running Get-AppxPackage -name MsTeams for the affected users. If you run this code, an empty output will be returned.
    • The PowerShell window is displayed after New Teams has been deployed. To prevent this, the registry key listed below must be deleted.

New features in New Teams for VDI

The following features are included in New Teams for VDI, compared to Classical Teams:

  • Multitenant Multi-Account
  • Performance improvements in the consumption of hardware resources
  • Channels 2.0
  • Multiple windows are activated by default without the need for a restart
  • Improvements to the sharing toolbar (including pinning/unpinning)