windows powershell
#install-module MS Teams module (-AllowClobber)
if you see error – unable to resolve package source when try to install module of MS Teams, it is due to it needs TLS 1.2 connection. using the following in PS to resolve the issue
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
#import-module
#sign into MS Teams
$cred=Get-Credential
connect-MicrosoftTeams -Credential $cred