Topic Last Modified: 2014-02-26
Follow the steps in this section to configure interoperability between your on-premises deployment and Lync Online.
Configure Your On-Premises Edge Service for Federation with Lync Online
Run the following cmdlets:
Copy Code | |
---|---|
Set-CSAccessEdgeConfiguration -AllowOutsideUsers 1 -AllowFederatedUsers 1 -UseDnsSrvRouting |
Copy Code | |
---|---|
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 |
In addition, you should use the Set-CsTenantFederationConfiguration cmdlet to allow the use of a shared SIP address space:
Copy Code | |
---|---|
Set-CsTenantFederationConfiguration -SharedSipAddressSpace $True |
If this is not done then you will receive an error if you attempt to move a user to Lync Online.
For details about considerations for federation in a hybrid deployment, see Planning for Lync Server 2013 Hybrid Deployments.
Configure Your Lync Online Tenant for a Shared SIP Address Space
Before you try to migrate a Lync user homed on-premises to be homed in Lync Online, you’ll need to configure your Office 365 tenant to use a Shared Session Initiation Protocol (SIP) address space with your on-premises deployment. If this is not configured, you may see the following error message:
Move-CsUser : HostedMigration fault: Error=(510), Description=(This user’s tenant is not enabled for shared sip address space.)
To configure a shared SIP address space, establish a remote PowerShell session with Lync Online, and then run the following cmdlet:
Copy Code | |
---|---|
Set-CsTenantFederationConfiguration -SharedSipAddressSpace $true |
To establish a remote PowerShell session with Lync Online, you first need to install the Lync Online module for Windows PowerShell, which you can get here: http://go.microsoft.com/fwlink/p/?LinkId=391911.
After you install the module, you can establish a remote session with the following cmdlets:
Copy Code | |
---|---|
Import-Module LyncOnlineConnector |
Copy Code | |
---|---|
$cred = Get-Credential |
Copy Code | |
---|---|
$CSSession = New-CsOnlineSession -Credential $cred |
Copy Code | |
---|---|
Import-PSSession $CSSession -AllowClobber |
For more information about how to establish a remote PowerShell session with Lync Online, see Connecting to Lync Online By Using Windows PowerShell.
For more information about using the Lync Online PowerShell module, see Using Windows PowerShell to Manage Lync Online.