Teams and Skype Module
#teams #microsoftteams #skypeforbusiness #powershell
Microsoft has discontinued the user of Skype Online module and has replaced it with the Teams module. There are lots of blogs and information out there on how to do this, yet I ran into an issue.
Work laptop, administrative creds, SfB Onpremises, Teams up and running, moving myself to TeamsOnly. Need access to both Skype and Teams.
Open Powershell (or ISE) in Admin mode
This next one is what I had to run to allow the modules to download (thanks security ;)
Copy and paste one at a time:
Install-Module -Name PowerShellGet -Force -AllowClobber
Install-Module -Name MicrosoftTeams -Force -AllowClobber
Sign in with your 365 account
$UserCredential = Get-Credential (log into your admin account)
Copy and paste the below into a notepad and replace the server name with yours.
$Session = New-PSSession -ConnectionUri https://sfbfe.domain.com/ocspowershell -Credential $UserCredential