You probably want to install teams using GPO, and you actually Microsoft article about this:
On this website there are msi packages of Teams. Unfortunately, when you want to install Teams using one of them, you encounter a problem, because Teams not starting, even if you can see installed program in the Programs and Features list.
Problem: cannot use .msi package of Teams
Solution: change .msi package by adding ACCEPT_EULA=1 property using Super Orca application.
All you need to do is to add a row ACCEPT_EULA with value of 1.
After that you can save and use changed msi package with the GPO installation package.
NOTE: you need to use user part of GPO, not the computer one, cause "installation" is made in the appdata user folder.