Hi, @MTrn
Thanks very much for your feedback. We're glad that the problem is solved now. Here's a short summary for the problem, we believe this will help other users to search for useful information more quickly.
Problem/Symptom:
When deploy the New Microsoft Teams with SCCM, the deployment is good for first time installation only, but when uninstall and reinstall it from software center, the error "Cannot create a file when that file already exists" will show up.
Solution/Workaround:
Use a PowerShell script will make the deployment easier and dynamic by downloading the latest teamsbootstrapper.exe as well dynamically so we don't have to update our application in Configuration Manager when it is updated.
Reference Link:
https://ccmexec.com/2023/11/install-new-teams-client-with-powershell-with-or-without-content/
https://github.com/suazione/CodeDump/blob/main/Install-MSTeams.ps1
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click ""Add Comment".