Forum Discussion
New Teams / Meeting addin missing on Windows Server 2019 RDSH / Autostart Issue
Dear Community, dear Microsoft Pros,
We are currently struggling with getting the New Teams running smoothly on our RDSHs.
It was already a painful experience to remove the old Teams and install the New Teams there. But now the addins are missing completely - the presence addin everywhere (also on the Win10/11 clients, but this is another story), and the meeting addin on the RDSHs. We managed to find out, the addin installer is embedded as an MSI in the original New Teams installer and resides in the WindowsApps folder.
We think, this installer will run in user context, so this is trouble because the users are not allowed to install MSI. Ultimately, we can only achieve a complete installation including the plugin on an administrator account. All normal users will not get the plugin installed.
Also, the new teams is still struggling to update on several user accounts and starting on user logon.
I guess this needs to be fixed by Microsoft - especially in the light of the fact that the classic teams will be shut down at the end of the month.
Meanwhile I'm looking for workarounds to get the addin running, because our colleagues rely on it.
Our Setup:
Windows Server 2019 Datacenter Edition, Microsoft 365
Classic Teams removed
New Teams installed via Dism /Online /Add-ProvisionedAppxPackage /PackagePath:"MSTeams-x64.msix" /SkipLicense
- kingrafeCopper Contributor
We are also expericing the same issue with Window Server 2019 and New Teams in our citrix environment.
- thoger5Copper Contributor
calaneo We have the same issue as well. Any direction Microsoft?
Server 2019
installed Teams via DISM
Have presence working seemingly after following instructions for Server 2019 in the article linked below. Have over 100 users on Server 2019 Session Hosts. So needing a solution for this before the deprecation of Classic teams.
New Microsoft Teams for Virtualized Desktop Infrastructure (VDI) - Microsoft Teams | Microsoft Learn
- DirkberlinCopper ContributorWe have the same issue. Did you ever found a solution? Over 1000 views, an still no fix by Mirosoft
- SpragazCopper Contributor
calaneo
Hi, we faced the same problem after installing the new MS Teams. In the event log you see, that the system tries to install the addin in user context from an MSI package, but the installation fails with error code 1625. The MSI is located at ‘C:\Program Files\WindowsApps\MSTeams_24137.2216.2931.2440_x64__8wekyb3d8bbwe\MicrosoftTeamsMeetingAddinInstaller.msi’ and can also be manually executed and installed for all users. After i did that, the addin finally works in Outlook.I don't know what will happen, when MS Teams get's an update. I would recommend to disable the auto update function.
- calaneoCopper Contributor
Spragaz Dirkberlin thoger5 kingrafe
We currently have no solution, only some disappointing "workarounds".
First of all, we still have Teams Classic installed for the Meeting Addin functionality. This is a bit of a mess because of the load of data stored in the profile disks, but still better than missing the plugin functionality.
Second, altough both Teams Classic and "new" Teams are startable via the Start Menu none of them would start when the user logs in. If we set Teams to run on startup, no matter if in Teams itself or via the Startup Apps, after re-login, these settings are gone. Solution? We put a shortcut into the Windows public startup folder.
Some users also report issues with the "Update" functionality, where Teams seems to be the current version, but still prompts for updates.
Kinda sad experience to have to rely on such immature products, even months after you were forced to use them.
- DirkberlinCopper Contributor
calaneo @Spragaz @thoger5 @kingrafe
Hello,
yesterday I tried the workaround to install the plugin manually as an admin on my test environment server 2019.
That worked for me in the test environment. The plugin was installed for the testuser. But I guess it will not update automatically in the future, as the user has no right to install.
My problem and this workaround is described here:
New Microsoft Teams for Virtualized Desktop Infrastructure (VDI) - Microsoft Teams | Microsoft Learn
In the log file for the tma addin, I found the error "Installation success or error status: 1625." which means there seems to be a policy restricting this. However, there is no policy in place.
I will continue testing it..EDIT:
I must have set a registry entry incorrectly yesterday. Now that I have corrected this, the Meeting Add-In is installed automatically.
You can find it in the link above.
I have set the registry values for DisableMSI and DisableUserInstalls.Teams started automatically for me, I have no problem with that.
I now have new Teams and the add-in is also provided automatically. The user profiles are saved via FSLogix.Did you deploy Teams via DISM as indicated in the link?
I will now try for some other users...Best regards
Dirk
- thoger5Copper Contributor
calaneo Dirkberlin Spragaz kingrafe
Perhaps my persistence to get this to work in our 2019 environment will help some of you.
Installing Teams into a 2019 RDSH Session Host Environment:
1. Download the latest MSIX file for the new Microsoft Teams
2. Save to a location on the C: drive of the server
3. run the following powershell command to install New Teams but replace file location to be where you stored your MSIX download from step 1....... DISM /Online /Add-ProvisionedAppxPackage /PackagePath:"C:\users\%username%\downloads\MSTeams-x64.msix" /SkipLicense
4. (Due to UAC issues) From another computer navigate to the c$ administrative share of your Server 2019 session host and locate the "c:\program files\windowsapps\MSTeams_#####.###.####.####_x64__iwekyb3d8bbwe\" folder (Example: \\rdsh01\c$\program files\windowsapps\MSTeams_#####.###.####.####_x64__iwekyb3d8bbwe\)
5. copy the "MicrosoftTeamsMeetingAddinInstaller.msi" file to the c:\ drive somewhere on the RDSH server
6. Run the msi file acquired in step 5 on the RDSH server and install for everyone (administrative command prompt and in install mode). Also install path should be to C:\program files (x86)\Microsoft\TeamsMeetingAdd-inn\#.##.#####\ (with # symbols being version number)
7. Find section titled “Outlook presence integration with New Teams in Windows Server 2019” from the article https://learn.microsoft.com/en-us/microsoftteams/new-teams-vdi-requirements-deploy?fbclid=IwAR3hGgEa-B4U_o7uveN1ZL9BV-NkR6vZqh5j-tGm9d4Wg0YA17eVJaBalm8
8. Click on the link in step 4 of this section to download the presence integration installer
9. If the server is up to date on all cumulative updates you should only need to open the local group policy on the machine by opening gpedit.msc from a run dialog box and enabling the policy at the following location "Computer Configuration\Administrative Templates\KB5035849 240209_02051 Feature Preview\Windows 10, version 1809 and Windows Server 2019\"
10. Don't worry about the ALLUSERS switch and running from a command line. Run from GUI after putting server into install mode. Run the installer acquired in step 8 and choose to install for "Everyone" or "all users" in the dialog screen when installing.
11. restart the RDSH serverAUTO STARTING
Auto Starting Teams - Since "new teams" is now a Windows App creating a shortcut on the desktop and auto starting it is tricky. From a run dialog box go to Shell:appsfolder Here you will find a shortcut for the New Teams app. Copy/paste to c:\users\public\desktop so it is on the desktop of everyone that logs into the RDSH server. Then also get it copied to appdata\roaming\Microsoft\Windows\Start Menu\programs\startup folder for each user that logs into the RDSH server needing teams to auto launch. I accomplish this with a script I have users run that also cleans up Teams and fixes other things in their Profile, but you can accomplish in other ways I am sure.
CORRUPT INSTALLATIONS
I have had the New Teams seemingly become corrupt and I try uninstalling from the apps area in Settings but any uninstall/re-install/etc action from that area doesn't seem to remove it. If you find yourself in this situation then you can run the following powershell commands to find your Package Name of what is supposedly installed and then remove it via powershell.
Get-AppxProvisionedPackage - Online
From this command you will be able to find the PackageName of New Teams that is installed. Then use that name to run the following command.
Remove-AppxProvisionedPackage -PackageName MSTeams_#####.####.####.####_x64__8wekyb3d8bbwe"
Then you can install a fresh version.
NOT QUITE CORRUPT
After figuring out the technique above when thinking the installation was corrupt I later found out that Windows Apps can be blacklisted if they malfunction which prevents them from running. You can remove New Teams from the blacklist by setting a registry value to 0 that is created when blacklisted. Modify the PackageStatus DWORD value in HKLM\Software\Microsoft\Windows\CurrentVersion\AppModel\StateChange\PackageList\MSTeams_#####.###.####.####_x64__8wekyb3d8bwe to be a zero. I set a group policy to enforce this to be a zero after a new version is installed (obviously the # signs in my example are placeholders for the actual version number installed).
I unfortunately tried to have teams not auto update but that didn't work for me and then when it did auto update and malfunctioned it would blacklist it again and I would have to update my Group Policy or manually update the registry on each server. Not elegant but I have a nightly powershell script that does many things and I included a check for new folders in C:\program files\WindowsApps\ and I get an email if a new folder is created within the last 7 days or so....that way I have a few reminders to update the Group Policy for my RDSH servers to get ahead of a blacklist event. Double unfortunately for a lot of reasons the installation folder for New Teams changes its name based on the version number creating some of these additional steps.
TEAMS MEETING ADDIN STILL NOT FUNCTIONAL
Probably for new installations as well and definitely for us since we transitioned from Classic Teams we had to apply group policy registry updates for users to get the New Teams Meeting Addin to work without relying on the previous installation within their profile from Classic Teams. So after the Teams Meeting Add-in is installed from the New Teams installation folder as I described in the beginning.......the following registry entries for each user need to be updated....Some based on the version number (which again is in the installation path of the meeting add-in installation).
I copied these from my script I fix profile issues with and are in the format of reg add commands but you can configure in whatever manner works for you. I also re-enforce the once with version numbers of the Teams Meeting add-in installation directory via Group Policy so I can easily update them in the future when I need to manually update the Teams Meeting Add-in.
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D} /ve /t REG_SZ /d "FastConnect Class" /f
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\InprocServer32 /ve /t REG_SZ /d "C:\Program Files (x86)\Microsoft\TeamsMeetingAdd-in\1.23.35502\x86\Microsoft.Teams.AddinLoader.dll" /f
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\InprocServer32 /v ThreadingModel /t REG_SZ /d "Apartment" /f
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\ProgID /ve /t REG_SZ /d "TeamsAddin.FastConnect.1" /f
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\Programmable /ve /t REG_SZ /d "" /f
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\TypeLib /ve /t REG_SZ /d "{C0529B10-073A-4754-9BB0-72325D80D122}" /f
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\Version /ve /t REG_SZ /d "1.0" /f
reg add HKCU\Software\Classes\WOW6432Node\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\VersionIndependentProgID /ve /t REG_SZ /d "TeamsAddin.FastConnect" /f
reg add HKCU\Software\Classes\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\InprocServer32 /ve /t REG_SZ /d "C:\Program Files (x86)\Microsoft\TeamsMeetingAdd-in\1.23.35502\x86\Microsoft.Teams.AddinLoader.dll" /f
reg add HKCU\Software\Classes\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\InprocServer32 /v ThreadingModel /t REG_SZ /d "Apartment" /f
reg add HKCU\Software\Classes\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\ProgID /ve /t REG_SZ /d "TeamsAddin.FastConnect.1" /f
reg add HKCU\Software\Classes\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\TypeLib /ve /t REG_SZ /d "{C0529B10-073A-4754-9BB0-72325D80D122}" /f
reg add HKCU\Software\Classes\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\Version /ve /t REG_SZ /d "1.0" /f
reg add HKCU\Software\Classes\CLSID\{19A6E644-14E6-4A60-B8D7-DD20610A871D}\VersionIndependentProgID /ve /t REG_SZ /d "TeamsAddin.FastConnect" /f
reg add HKCU\Software\Classes\TypeLib\{C0529B10-073A-4754-9BB0-72325D80D122}\1.0\0\win32 /ve /t REG_SZ /d "C:\Program Files (x86)\Microsoft\TeamsMeetingAdd-in\1.23.35502\x86\Microsoft.Teams.AddinLoader.dll" /f
reg add HKCU\Software\Classes\TypeLib\{C0529B10-073A-4754-9BB0-72325D80D122}\1.0\0\win64 /ve /t REG_SZ /d "C:\Program Files (x86)\Microsoft\TeamsMeetingAdd-in\1.23.35502\x64\Microsoft.Teams.AddinLoader.dll" /f
reg add HKCU\Software\Microsoft\Office\Outlook\Addins\TeamsAddin.FastConnect /v Description /t REG_SZ /d "Microsoft Teams Meeting Add-in for Microsoft Office" /f
reg add HKCU\Software\Microsoft\Office\Outlook\Addins\TeamsAddin.FastConnect /v FriendlyName /t REG_SZ /d "Microsoft Teams Meeting Add-in for Microsoft Office" /f
reg add HKCU\Software\Microsoft\Office\Outlook\Addins\TeamsAddin.FastConnect /v LoadBehavior /t REG_DWORD /d 00000003 /f
OBVIOUSLY research these changes and modify registry at your risk and verify things in test before putting into production. This is just what has worked for me.
- DaveTheGCopper ContributorWhat kind of magic trick do I have to do to make the Outlook Teams add-in visible in Outlook WITHOUT having started Teams beforehand?
We specifically set the add-in with LoadBehavior 3 (HKCU\Software\Microsoft\Office\Outlook\Addins\TeamsAddin.FastConnect) in the registry BUT unfortunately it doesn't do anything.
Or is it ALWAYS mandatory that Teams be started beforehand?