Forum Discussion

oryxway's avatar
oryxway
Iron Contributor
Jul 16, 2024

Teams install fails

https://cloudinfra.net/deploy-new-microsoft-teams-app-on-windows-using-intune/

 

Followed everything in this step as it is in thi slink and the detection rule did not work as per this so I changed to this and it shows the installation as failed.

if ($null -eq (Get-AppxPackage -Name MSTeams)) {
 
Write-Host "New Teams client not found"
 
exit 1
 
} Else {
 
Write-Host "New Teams client found"
 
Exit 0
 
}

 

I just want to upgrade the TEAMS to the newer version for orgwide that is all any suggestions or what is going wrong here?

 

 

3 Replies

  • oryxway 

    If it shows that the installation failed, then the Detection worked and determined that the install command should be started.

     

    Could you add Start-Transcript c:\windows\temp\teams.log at the top of the install.ps1, and the end, add Stop-Transcript? Review the log afterward and see what's going on...

Resources