Microsoft has added the following part to the "Features currently not available in VDI with the new Teams":
- msteams_autostart.exe "The parameter is incorrect": In non-persistent environments that use FSLogix (any version) or Citrix Profile Manager profile containers, when new Teams attempts to autostart or a user tries to launch Teams from the Start menu, it throws the error: "The parameter is incorrect." The frequency and reproducibility of the error varies depending on the environment and especially the antivirus software being used (SentinelOne, Palo Alto, Trend Micro, Bitdefender, CrowdStrike, and so on.) and exclusions in place.
Note
Microsoft is working on a solution and plan to remove these limitations soon.
So I guess at least for this problem, we have to wait.
But I'm glad that this part has finally been added and I can stop experimenting.