Microsoft Teams On Citrix

  



  1. Microsoft Teams On Citrix Client

The Windows and Mac Citrix Workspace clients support Team optimization at the time of writing this article with Linux on the way. Installing Teams on a VDI environment When installing Teams on a VDI environment, it must be installed a certain way. From a Citrix/Microsoft environment perspective; there are two primary ways to optimize your Microsoft Teams traffic. Use Quality of Service (QoS) tagging for the ‘Teams’ packages that are transmitted over your network. Use HDX Redirection (optimization) for Microsoft Teams on Citrix to offload CPU consumption. In this step-by-step guide I will describe how-to disable GPU Hardware Acceleration for Teams in Citrix for all users. If the Virtual Desktop does not have a GPU/vGPU, Citrix recommends to disable GPU hardware acceleration in Teams. This cannot be done by policy or registry but by editing a json-file in the AppData directory. Microsoft Teams in a virtualized environment supports chat and collaboration. And with the Windows Virtual Desktop, Citrix, and VMware platforms, calling and meeting functionality is also supported. Teams in a virtualized environment supports multiple configurations. These include VDI, dedicated, shared, persistent, and non-persistent modes.

Good news, after a long time coming, Microsoft Teams calling and meetings (audio, video and sharing) are now available on VDI (Virtual Desktop Infrastructure) with Citrix.

Microsoft Teams chat and collaboration has been supported in VDI for a long time, and now with the Citrix platform, calling and meeting functionality are also supported.

Audio, video and sharing are handled via WebRTC on the Citrix platform. VDA-side HDX services use an API to interface with the Microsoft Teams hosted app to receive commands. These components open a control virtual channel (CTXMTOP) to the Citrix Workspace app-side media engine. The VDI endpoint decodes and renders the multimedia locally. The video/sharing is “snapped” to the local Microsoft Teams VDI client.

Citrix Virtual Apps and Desktops requirements

Citrix Virtual Apps and Desktops (formerly known as XenApp and XenDesktop) provide AV optimization for Teams on VDI.

You can download the latest version of Citrix Virtual Apps and Desktops here. (You’ll need to sign in first.)

The necessary components are bundled into the Citrix Workspace app (CWA) and Virtual Delivery Agent (VDA) by default. You don’t need to install any additional components or plugins on CWA or the VDA.

Recommended version – Citrix Workspace app 1911 for Windows and Minimum version – Citrix Workspace app 1907 for Windows:

Microsoft Teams Requirements

Microsoft teams citrix browser content redirection

The minimum version of the Teams desktop app that’s required is version 1.2.00.31357.

Some limitations/considerations

  • Windows Thin clients only, not Mac or Linux.
  • Only a single incoming video stream is supported in meetings or group calls. When multiple people send video, only the dominant speaker’s video is shown at any given time.
    • Update 3rd Feb 2021, 2×2 video now supported in preview details here: Microsoft Teams VDI 2×2 Gallery View Public Preview, Citrix and VMware – Tom Talks
  • Only one video stream OR screen share stream is supported. When there’s an incoming screen share, that screen share is shown instead of the remote user’s video.
  • Screen sharing from VDI is supported, but you must share the whole screen, sharing only specific application windows is not supported.
  • Give control and take control of screen sharing is not supported. Giving remote control of a PowerPoint is supported.
  • Incoming and outgoing video stream resolution is limited to 720p resolution.
  • With VDI per-machine installation, the Microsoft Teams client app isn’t automatically updated in the way that non-VDI Teams clients are. You have to update the VM image manually with the latest MSI on a regular basis.

These calling and meeting features are not supported:

  • Enhanced emergency services
  • HID buttons and LED controls between the Teams app and devices
  • Background blur and effects
  • Broadcast/live events
  • Location-Based Routing (LBR)
  • Call park
  • Call queue

Microsoft is now working on adding these features.

Be sure to subscribe to my bi-weekly Microsoft Teams email update for the latest news at these features are added.

References/more information:

Microsoft

Microsoft Documentation: Microsoft Teams for Virtualized Desktop Infrastructure

Citrix: Optimization for Microsoft Teams

Video Demo here

In this step-by-step guide I will describe how-to disable GPU Hardware Acceleration for Teams in Citrix for all users. If the Virtual Desktop does not have a GPU/vGPU, Citrix recommends to disable GPU hardware acceleration in Teams (link). This cannot be done by policy or registry but by editing a json-file in the AppData directory.

I will describe in this article how I managed this with a simple Powershell script which you can run at logon.

Preparations

  • Administrator privileges are required
  • User policy needed for placing the startup script

Microsoft Teams On Citrix Client

Create or use a user-based policy where you want to use the Powershell script and use the contents of the script below. This script will first check if the json-file is present. If not, the user have never started Teams and the json-file is not present and will therefor not be edited.