Connect PowerShell to Microsoft Teams
Connecting with PowerShell to the Teams module.
Often I'm asked: How to connect to Teams Module with PowerShell.
If it fails with the message below, this is in Windows 10/11 the issues with Set-ExecutionPolicy.
Set-ExecutionPolicy Unrestricted
Required: PowerShell 5.1, .NET Framework 4.7.2
Install-Module -Name PowerShellGet -Force -AllowClobber
Install-Module -Name MicrosoftTeams -Force -AllowClobber
(or if installed: Import-Module PowerShellGet, Import-Module MirosoftTeams)
Connect-MicrosoftTeams
Comments
Post a Comment