question

sanjayjoshi-6691 avatar image
0 Votes"
sanjayjoshi-6691 asked JimmyYang-MSFT commented

skype for business onprem and teams hybrid set up

When I try to run Set up hybrid with Teams and Skype for Business online option from Skype for business 2019 control panel, it is throwing below error mesaage.

We couldn't log in to your O365 account. Please check the errors and then select OK to try again:
New-PSSession : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to stop:
[admin2a.online.lync.com] Processing data from remote server admin2a.online.lync.com failed with the following error message : Skype for Business Online PowerShell connections are blocked. Please replace the Skype for Business Online PowerShell connector module with the Teams PowerShell Modul. Please reach out to Microsoft Support for issue with Skype for Business or Teams hybrid setup.


Thanks:
Sanjay Joshi

office-skype-business-server-administration
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sanjayjoshi-6691

Skype for Business Online PowerShell connections are blocked. Please replace the Skype for Business Online PowerShell connector module with the Teams PowerShell Modul.

As the error message said, Skype for Business Online Connector is currently part of the latest Teams PowerShell module. If you do not have Teams module, please try to run the following command:

Install-Module –Name MicrosoftTeams
$credential = Get-Credential
Connect-MicrosoftTeams -Credential $credential


0 Votes 0 ·

Hi @JimmyYang-MSFT

I have already installed Teams module and above command is working fine. But I am getting below issue when try to set up hybrid connectivity from Skype for Business 2019 control panel.
204047-teamhybrid.jpg


0 Votes 0 ·
teamhybrid.jpg (65.9 KiB)

Hi @sanjayjoshi-6691

Did you Uninstall Skype For Business Online Connector?

To do this, in Control Panel, go to Programs and Features, select Skype for Business Online, Windows PowerShell Module, and then select Uninstall.

0 Votes 0 ·

0 Answers