PROBLEM
In a Lync hybrid deployment, when you try to move users from the on-premises server that is running Lync to Skype for Business Online (formerly Lync Online) in Office 365, you receive the following error message in Skype for Business Online PowerShell:
SOLUTION
Before you try to migrate an on-premises Lync user to Skype for Business Online in Office 365, your Office 365 Skype for Business Online organization must be enabled for Shared Session Initiation Protocol (SIP) Address Space.
Set-CsTenantFederationConfiguration -SharedSipAddressSpace $true
How to connect to Skype for Business Online PowerShell
The first step is to install the Windows PowerShell Module for Skype for Business Online. For information, go to the following Microsoft website:
After you have the Skype for Business Online Connector module installed, open Windows PowerShell, and then run the following commands:
Import-Module LyncOnlineConnector
$cred = Get-Credential
$CSSession = New-CsOnlineSession -Credential $cred
Import-PSSession $CSSession -AllowClobber
For more information about how to connect to Skype for Business Online by using Windows PowerShell, go to the following Microsoft TechNet website: