Additional features, settings, or issues not covered by specific Microsoft Teams categories
We looked at this one all day today. Here's what worked for us as of 4/5/2024.
$RegistryPath = 'HKCU:\SOFTWARE\IM Providers\'
$FriendlyName = 'MsTeams'
If (-NOT (Test-Path $RegistryPath)) {
New-Item -Path $RegistryPath -Force | Out-Null
}
New-ItemProperty -Path $RegistryPath -Name "DefaultIMApp" -Value $FriendlyName -PropertyType String -Force