Deploy Microsoft Teams Client with Configuration Manager. Not a perfect method – but work very well. Tested with SCCM 1610 and SCCM 1702 instalace.
Aktualizace: There are now *.MSI files available, so you don’t need this post anymore.
Create Microsoft Teams client application deployment
1. Create a folder at your SCCM Distribution Point for Microsoft Teams Client setup files. (v mém případě D:\Install\Microsoft Teams\1.0.00.7405);
2. Place to folder Client setup file and create *.bat file with text strings;
Teams_windows_x64 /s
timeout 60
POZNÁMKA: if you have very fast PC’s in your network – decrease timeout;
3. Navigovat do Software Library\Application Management\Applications. Klikněte Create Application v horním menu;
4. Pro General, select the option Manually specify the application information a klikněte další;
5. Pro General Information, fill out all fields that you wish, klikněte další;
6. Pro the Application Catalog, fill out all fields that you wish, add Icon (250×250);
7. Klikněte další;
8. Pro Deployments Types klikněte Přidat;
9. Pro General, na TypVybrat Script Installer a klikněte další;
10. Pro General Information, vstoupit your název, and add some Administrator Comments nebo Languages. Klikněte další;
11. Pro Content, vybrat Content-Location. At the Installation program vstoupit:
"teams.bat"
POZNÁMKA: This is a *.bat file from the beginning.
12. Na Uninstall program vstoupit:
"%LocalAppData%\Microsoft\Teams\Update.exe" --uninstall -s
POZNÁMKA: Microsoft Teams installing to user folder “C:\users\<username>\AppData\Local\Microsoft\Teams\“.
13. Klikněte další;
14. Pro the Detection method klikněte Add Clause;
15. Na Setting Type Vybrat:
Registry
16. Na Hive Vybrat:
HKEY_CURRENT_USER
17. Na Key vstoupit;
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Teams
18. Na Hodnota vstoupit:
DisplayVersion
19. Set check mark at This registry key is associated with a 32-bit application on 64-bit systems
20. Na Data Type Vybrat:
String or Version
POZNÁMKA: you may click OK and set the detection method to installed or not installed. Or set the second option and enter at Value your version.
21. Klikněte OK;
22. Klikněte další;
23. Pro User Experience, at installation behavior choose:
Install for user
24. Na Installation program visibility Vybrat:
Hidden
25. Soubor the Estimated installation time (minut) a klikněte další;
26. Pro Requirements, config as you need, klikněte další;
27. Pro Dependencies, config as you need, klikněte další;
28. Pro souhrn, klikněte další;
29. Klikněte Zavřít;
30. Pro Deployments Types, Klikněte další;
31. Pro souhrn, klikněte další;
32. Klikněte Zavřít;
33. Distribute content na Distribuční místo;
34. Deploy Application to Device Collection;
Install Microsoft Teams Client from Software Center
1. Go to the client and open Software Center;
2. Select the app and click Nainstalujte;
POZNÁMKA: App installation time increases by the time from a timeout in the *.bat file
3. Desktop link created, so app installation goes well, wait for timeout;
Perfektní!
If SCCM runs under the System account context then won’t %localappdata% be for that account and not the currently logged on user?
In this case you run as service account, but app install for current logged user. App can be installed only if user logged in. Installation behavior – For current user, run as account not current user, it’s only run installation for current user.
What is the timeout for?
There is timeout (based on PC perfomance), because detection rule don’t recognize installation if you run simple silent installation “Teams_windows_x64 /s”, there is some idle with keys creation. But with timeout after product installation – detection rule work as it must. In simple words timeout for correctly detection.
0x87D00324(-2016410844) have a idea?
Ahoj. Application is installed, this error code means problems with application detection. Try to check if the application installed. if everything fine – check installation detection rules
Děkuji. timeout solved my problem.