Ahhhh Teams... Good times... The language it is written in is Electron, and it is garbage. Supposedly it is being rewritten. We will see. Yes, we got it to work, but with every new version released...
See more...
Ahhhh Teams... Good times... The language it is written in is Electron, and it is garbage. Supposedly it is being rewritten. We will see. Yes, we got it to work, but with every new version released, it's always fun to see what works, and what used to work is now broken. We use FSLogix instead of writables so there is no need to create profile for it in UEM, (and if you do, it will create huge profiles that aren't necessary). Here are the notes I have for my installation on my master image. We have a different tenancy than most, so take the following with a grain of salt. Download the latest .msi installer from Microsoft. https://docs.microsoft.com/en-us/microsoftteams/msi-deployment Install it using the following switches: msiexec /i <path-to-teams-msi> OPTIONS="noAutoStart=True" ALLUSER=1 ALLUSERS=1 This is for a non-persistent (instant clone) setup, the Teams desktop app must be installed "per-machine" on the golden image. Note 1: When installing on Windows 10 using ALLUSER=1 property, MSI will return error: Installation has failed. “Cannot install for all users when a VDI environment is not detected.” To resolve this, the Teams installer needs ”HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\PortICA” registry key to be created on a target and then the install will complete successfully. Remove it after installation or Teams will not be optimized for VMware Horizon Note 2: Add the following keys to block the reoccurring MDM enrollment. HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin\autoWorkplaceJoin=dword:00000000 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin\BlockAADWorkplaceJoin=dword:00000001 Note 3: When troubleshooting Teams, close Teams and delete everything under "C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Teams" and have the user restart Teams Note 4: If Teams fails to start, verify this key is not in the master image. If it is, remove it. This was a suggested setting from Microsoft, but it does not work and causes connection failures. [HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Teams] "CloudType"=dword:3 Note 5: Disable HWA in Teams User settings for Teams are saved in a JSON file desktop-config.json: %APPDATA%\Microsoft\Teams\desktop-config.json Search for DisableGPU in the file, and change the setting from “disableGpu”:false to “disableGpu”:true.