How do I get a stable New Teams install on a 2019 Server running a Citrix VDA?

Steve Hurd 0 Reputation points
2023-11-08T20:44:28.06+00:00

Hello, everyone!

I've gone through all of these requirements on a fresh install of Server 2019:

User's image

I have the correct .msix x64 Teams file. I am getting the following errors using the bootstrap installer:

User's image

Using another forum post, I tried this command:

powershell.exe -ExecutionPolicy bypass -command "&{ Add-AppxProvisionedPackage -Online -PackagePath .\MSTeams-x64.msix -SkipLicense }"

...which resulted in this:

Add-AppxProvisionedPackage : error C00CE014: App manifest validation error: The app manifest must be valid as per
schema: Line 20, Column 6, Note: The schema for MaxVersionTested specified does not recognize XML fields with
namespace "http://schemas.microsoft.com/appx/manifest/desktop/windows10/6". Please ensure that you have the correct
MaxVersionTested specified. Reason: Element
'{http://schemas.microsoft.com/appx/manifest/desktop/windows10/6}RegistryWriteVirtualization' is unexpected according
to content model of parent element '{http://schemas.microsoft.com/appx/manifest/foundation/windows10}Properties'.
At line:1 char:4
+ &{ Add-AppxProvisionedPackage -Online -PackagePath .\MSTeams-x64.msix ...
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-AppxProvisionedPackage], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddAppxProvisionedPackageCommand

Any Suggestions? Thanks in advance!

Steve Hurd, New Albany, IN

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,799 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,325 questions
{count} votes

6 answers

Sort by: Most helpful
  1. LiweiTian-MSFT 20,730 Reputation points Microsoft Vendor
    2023-11-09T05:32:57.0266667+00:00

    Hi @Steve Hurd

    The following minimum versions are necessary to support the new Teams client:

    Citrix Workspace app:

    • Windows 2203 LTSR (and any CU)
    • Windows 2302 CR
    • Linux 2207
    • Mac 2302
    • Chrome/HTML5 2301

    Citrix Virtual Delivery Agent (VDA):

    • 1912 CU6 (and any subsequent CU)
    • 2203 LTSR (and any CU)
    • 2212 CR

    In addition, you must deploy the following registry key on the VDA for the new Teams client to be optimized:

    • Location:  HKLM\SOFTWARE\WOW6432Node\Citrix\WebSocketService
    • Key (REG_Multi_SZ): ProcessWhitelist
    • Value: msedgewebview2.exe 

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

  2. Mike Linsenmayer 0 Reputation points
    2023-11-14T19:37:59.4966667+00:00

    Are you using FSLogix for profile management? https://learn.microsoft.com/en-us/fslogix/overview-what-is-fslogix

    Are you using persistent or non-persistent images? Are these on Prem or hosted in Azure?

    How are users connecting to VDI (Cloud Gateway, SSL on prem etc) Are these on Prem or hosted in Azure?

    Are you using Cached user Profiles (Kills Teams)


  3. Enrique Roblero 0 Reputation points
    2024-02-09T03:03:00.6+00:00
    • Run this command: Dism /Online /Add-ProvisionedAppxPackage /PackagePath:MSTeams-x64.msix /SkipLicense
    • MSTeams-x64.msix should be in the same directory in which you are running the command from.
    0 comments No comments

  4. Admin52618 0 Reputation points
    2024-02-09T09:04:22.9366667+00:00

    Hi All, has anyone installed the new MS Teams into a pvs environment (win 2019)?
    I am using the following command and the new Teams can be installed successfully:
    Dism /Online /Add-ProvisionedAppxPackage /PackagePath:<MSIX package path> /SkipLicense

    Based on this article:
    https://learn.microsoft.com/.../new-teams-vdi...

    The Teams opens on the MTD, but as soon as i create an image and assign to the VDAs, the Teams app cannot be opened. In eventlog can be seen:
    Failure to instantiate storage folder C:\Users\NAME\AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache for package MSTeams_8wekyb3d8bbwe with Error Code: -2147024809 Any suggestion?
    Thanks!


  5. Jamie 0 Reputation points
    2024-05-01T15:08:01.6166667+00:00

    So with not long to go now before the great Teams Classic expiry, has anyone got a step-by-step iron-clad method and components for installing New Teams, successfully on a 2019 Server Citrix VDA, where it opens for a user and works hunky dory with HDx Optimisation. I was hoping James Rankin would have made an article, as they are normally the answer, but getting it on 2019 server doesn't doesn't seem to have been thought about and good ol' MS are once again not making enterprise lives easy.

    No side-by-side, just a fresh install, imagine it's a virgin 2019 server with the the Citrix VDA / Workspace components. What is the working method of New Teams.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.