Everything is moving towards cloud solutions these days, and so is Lync/Skype for Business. This is the quick way to federate your existing Lync 2010 environment with Skype for Business online, to start migrating Lync 2010 users to the cloud.
Lync 2010 On-Premise:
The FrontEnd server needs to be upgraded to CU from March 2013 or later. Latest CU updates are available here. The Edge server should be upgraded to same version.
Ensure that you have the following DNS record:
|SRV||_sip._tls.DomainName.com (TCP: 5061)||sip.DomainName.com|
Office 365 tenant:
To enable federation in the Office 365 tenant, go to the Skype for Business admin center and set external access to “On except for blocked domains”, as shown below.
Skype for Business administrative tools:
Since Lync 2010 is not directly compatible with Skype for Business online, we need to download and install Skype for Business administrative tools. These tools need to be installed on a member server outside the Lync 2010 topology.
From Skype for Business Server Management Shell check the access edge configuration and configure if necessary.
- Get-CsAccessEdgeConfiguration. Verify that “AllowOutsideUsers”, “AllowFederatedUsers” are both true and that routing method is “UseDnsSrvRouting”.
- If not run Set-CSAccessEdgeConfiguration -AllowOutsideUsers 1 -AllowFederatedUsers 1 -UseDnsSrvRouting
From Skype for Business Server Management Shell, check if the Lync hosting provider is configured and modify if needed.
- Get-CsHostingProvider –Identity LyncOnline
- It should look like this
- If it is not configured, run this:
- New-CSHostingProvider -Identity LyncOnline -ProxyFqdn “sipfed.online.lync.com” -Enabled $true -EnabledSharedAddressSpace $true -HostsOCSUsers $true -VerificationLevel UseSourceVerification -IsLocal $false -AutodiscoverUrl https://webdir.online.lync.com/Autodiscover/AutodiscoverService.svc/root
Configure the Skype for Business online tenant for shared SIP address space:
Download and install the Skype for Business online PowerShell module from here.
Establish a PowerShell session with Skype for Business online:
- Run PowerShell as administrator.
- Import-Module LyncOnlineConnector
- $cred = Get-Credential and input your Office 365 administrator account credentials.
- $CSSession = New-CsOnlineSession -Credential $cred
- Import-PSSession $CSSession –AllowClobber
- And finally Set-CsTenantFederationConfiguration -SharedSipAddressSpace $true
Moving users to Skype for Business online:
First we need to get the hosted migration url. Go to your Office 365 and Skype for Business admin center. Copy the url from there up until “lync.com”. It should look similar to “https://admin0a.online.lync.com”. Append “/HostedMigration/hostedmigrationservice.svc” so the whole url should look like “https://admin0a.online.lync.com/HostedMigration/hostedmigrationservice.svc”
From Skype for Business Server Management Shell run
- Move-CsUser -Identity username -Target sipfed.online.lync.com -Credential $cred -HostedMigrationOverrideUrl <url>
- Input the credentials for your Office 365 administrator account.
- When the user is moved, go the user page in your Skype for Business admin center and check if the user is there.
Now you are ready to begin testing the migrated user.