Updating User properties using GraphAPI

Configuring Lync 2013 Hybrid Setup with Skype for Business Online and move Users to Skype for Business Online

If you have lync on premise infrastucture and you wish to move your Lync onpremise users to Skype for business online, then you would require to setup a hybrid configurtion with skype for business online environment.

Hybrid configuration enable you to move your back and forth from Lync on premise environment to (Skype for Business) SFB online

In order to setup hybrid configurtion with skype for business online we need to met certain requirement, to check the same please go through my post below.

Planning for Lync Server 2013 hybrid deployments with Skype for Business Online

In this post we will learn how to configure Lync 2013 hybrid configuration with skype for business online and then we will move users to skype for business online and back to Lync on premise, we will also verify if the user has been successfully moved to skype for business online.

Before we setup hybrid and move the mailboxes to Skype for Business online, we need to consider the impact when the users are moved to SFB onlne, below I have mentioned the impact to be considered.

User related issues to consider in hybrid Setup

  • User contacts The limit for contacts for Lync Online users is 250. Any contacts beyond that number will be removed from the user’s contact list when the account is moved to Lync Online.
  • Instant Messaging and Presence User contact lists, groups, and access control lists (ACLs) are migrated with the user account.
  • Conferencing data, meeting content, and scheduled meetings This content is not migrated with the user account. Users must reschedule meetings after their accounts are migrated to Lync Online.

User Policies and Features

On-premises policies and configuration (non-user) Online and on-premises policies require separate configuration. You cannot set global policies that apply to both.

So lets further configure hybrid settings on Lync Onpremise without wasting any further time.

Configure Edge Service for Federation with Skype for Business Online

Run the below CMD to setup the same.

Set-CSAccessEdgeConfiguration -AllowOutsideUsers 1 -AllowFederatedUsers 1 -UseDnsSrvRouting -EnablePartnerDiscovery $True

To review if the attribute has been setup successfully, run the below CMD.

Get-CSAccessEdgeConfiguration
 
You should see the cmd output like picture below.

Configure CS Hosting Provider 

Next Run the below mentioned CMD to setup the CS Hosting Provider.

Set-CSHostingProvider -Identity “Lync Online” `
-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

Review the Get-CSHostingProvider cmd settings


Configure SFB Online Tenant for a Shared SIP Address Space

Install the Skype for Business Online module for Windows PowerShell if not already installed from the link below.

http://go.microsoft.com/fwlink/p/?LinkId=391911

Run the below CMD to Setup the Shared Sip in Skype for business PowerShell console.

Import-Module LyncOnlineConnector
$cred = Get-Credential
$CSSession = New-CsOnlineSession -Credential $cred
Import-PSSession $CSSession -AllowClobber
Set-CsTenantFederationConfiguration -SharedSipAddressSpace $true


Moving Users to Lync Online

 Assign the License: Before we can move user account to SFB online we need to assign SFB License to user account.

Once the license is assigned we are ready to move the user to SFB online for the same run the below CMD on Lync Onpremise Powershell Console.

CMDs to move a user to SFB Online

$cred=Get-Credentials # Your Admin Credentials.
$user = "USerID"
Move-CsUser -Identity $user -Target sipfed.online.lync.com -Credential $cred –HostedMigrationOverrideUrl https://admin0a.online.lync.com/HostedMigration/hostedmigrationService.svc

CMDs to move a user back to Lync Onpremise.
$cred=Get-Credentials # Your Admin Credentials.
$user="USerID"
Move-CsUser -Identity $user -Target <on-prem-pool.domain.com> -Credential $cred –HostedMigrationOverrideUrl https://admin0a.online.lync.com/HostedMigration/hostedmigrationService.svc

Verify SFB Online User Settings and Features 

You can verify that if the user was moved successfully in the following ways:
  • View the status of the user in the Lync Online Control Panel. The visual indicator for on-premises users and online users is different.
  • You can also Run the following cmdlet in Lync onprem Powershell Console and check the hosting provider details.
           Get-CsUser -Identity $user

If the user has been migrated successfully you will see the “Hostingprovider” as below.

           HostingProvider : sipfed.online.lync.com

This completes this post, In this post we learned how to setup Lync 2013 Hybrid with Skype for Business Online, We also learned how we can move the Users back and forth from Lync on premise to SFB online.


Comments