Deploy Microsoft Teams Client with Configuration Manager. Not a perfect method – but work very well. Tested with SCCM 1610 and SCCM 1702 installation.
оновлення: 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. (в моєму випадку 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
ПРИМІТКА: if you have very fast PC’s in your network – decrease timeout;
3. Перейдіть до Бібліотека програмного забезпеченняКерування програмамиПрограми. Натисніть Створити додаток in the upper menu;
4. For General, select the option Вручну вкажіть інформацію про додаток і натисніть Далі;
5. For General Information, fill out all fields that you wish, click Далі;
6. For the Application Catalog, fill out all fields that you wish, add Icon (250×250);
7. Натисніть Далі;
8. For Deployments Types click Add;
9. For General, at Тип choose Інсталятор сценаріїв і натисніть Далі;
10. For General Information, введіть your Ім'я, and add some Administrator Comments або Languages. Натисніть Далі;
11. For Content, вибрати Контент-розташування. At the Програма встановлення введіть:
"teams.bat"
ПРИМІТКА: This is a *.bat file from the beginning.
12. на Видалити програму введіть:
"%LocalAppData%\Microsoft\Teams\Update.exe" --uninstall -s
ПРИМІТКА: Microsoft Teams installing to user folder “C:\users\<ім'я користувача>\AppData\Local\Microsoft\Teams\”.
13. Натисніть Далі;
14. For the Detection method click Додати пункт;
15. на Setting Type choose:
Registry
16. на Вулик choose:
HKEY_CURRENT_USER
17. на Key введіть;
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Teams
18. на Значення введіть:
DisplayVersion
19. Set check mark at This registry key is associated with a 32-bit application on 64-bit systems
20. на Тип даних choose:
String or Version
ПРИМІТКА: 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. Натисніть добре;
22. Натисніть Далі;
23. For User Experience, at installation behavior choose:
Install for user
24. на Installation program visibility choose:
Hidden
25. Set the Estimated installation time (хвилин) і натисніть Далі;
26. For Requirements, config as you need, click Далі;
27. For Dependencies, config as you need, click Далі;
28. For Резюме, click Далі;
29. Натисніть Закрити;
30. For Deployments Types, Натисніть Далі;
31. For Резюме, click Далі;
32. Натисніть Закрити;
33. Distribute content до Пункт розподілу;
34. Deploy Application to Device Collection;
Install Microsoft Teams Client from Software Center
1. Go to the client and open Центр програмного забезпечення;
2. Select the app and click Install;
ПРИМІТКА: 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;
ідеально!
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?
Hi. 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
Thank you. timeout solved my problem.