Forum Discussion
Media optimization is not loaded to Teams in AVD VDI
We have the same issue, and use FSlogix with Profile and Office redirection.
I've found mounting the FSLogix disks and deleting the "Teams" folders from the following locations temporarily works as a workaround:
Profile Disk > AppData\Local\Microsoft\Teams
Profile Disk > AppData\Roaming\Microsoft\Teams
Profile Disk > HKCU (opens when mounting disk) > Software\Microsoft\Office\Teams
ODFC Disk > Teams
*This is merely a workaround to be used at your own risk, I'm sure someone with more knowledge on the matter will have a better/ more elegant solution.
What I haven't been able to figure out, is why after a short amount of time it reverts back and removes the AVD Optimization again. Hopefully, someone from Microsoft can jump in with an answer! Presumably, some kind of malfunctioning update being applied at user level to Teams? It's very frustrating for both me and the users to be forever signing them out of AVD and modifying profiles!
- anakha56Feb 08, 2023Copper Contributor
martinss Hey I have been meaning to come back to this thread to update with the solution I have found.
Install the WebRTC service on the host machine. So, in the environment I look after, I had to install the WebRTC service on the thin client so that when the user connected to the AVD through it, then the optimizations loaded.
Give that try and see if it works for you as well.
*edit* Just tagging the original post owner as well bacharbader
- martinssFeb 15, 2023Copper ContributorIn the end, we're yet to find the root cause (we including Microsoft Dev engineers). Instead I found a workaround in a well know redirections exclusion for FSLogix, which seemingly triggers AVD optimisation back into working. Exluding the following folder from the users profile and thus having it recreate at each login: AppData\Roaming\Microsoft\Teams\Service Worker\CacheStorage
- Marco BrouwerJul 05, 2023Brass ContributorThis solved it for me after migrating from 32-bit to 64-bit teams.