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.
Scenario:
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 ;)
Set-ExecutionPolicy Unrestricted
Copy and paste one at a time:
Install-Module -Name PowerShellGet -Force -AllowClobber
Install-Module -Name MicrosoftTeams -Force -AllowClobber
Connect-MicrosoftTeams
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
Import-PSSession $Session
Comments