Moving users back on-premises

It is possible to move back users that have been moved from the on-premises Lync deployment to the cloud, and it is also possible to move on-premises users that have been defined and enabled directly in Office 365. In the latter scenario, it is important to create the user also in the on-premises domain (Directory Service).

Getting ready

  1. As we have seen in other scenarios, it is required to have Active Directory synchronization and Federation Services correctly configured. Refer to the Authenticating with online services using DirSync recipe in Chapter 2, Lync 2013 Authentication.
  2. It is required to federate Lync Server 2013 with Lync Online, as we have done in point 5 of the How to do it… section in the Planning and configuring a hybrid deployment recipe.

How to do it…

  1. The Lync Online user must be created in the Active Directory (for example, I will define the BornOnCloud user that already exists in Office 365). The user must be enabled in the on-premises Lync deployment, for example, using the Lync Management Shell with the following cmdlet:
    Enable-CsUser -Identity "BornOnCloud" -SipAddress "SIP:[email protected]" -HostingProviderProxyFqdn "sipfed.online.lync.com"
    
  2. Sync the Directory Services.
  3. Now, we have to save our Office 365 administrative credentials in a $cred = Get-Credential variable and then move the user from Lync Online to the on-premises Front End using the Lync Management Shell (the -HostedMigrationOverrideURL parameter has the same value that we used in the previous section):
    Move-CsUser -Identity [email protected] -Target madhatter.wonderland.lab -Credential $cred -HostedMigrationOverrideURL https://admin0e.online.lync.com/HostedMigration/hostedmigrationservice.sVc
    
  4. The Get-CsUser | fl DisplayName,HostingProvider,RegistrarPool,SipAddress cmdlet is used to verify whether the user has moved as expected.

See also

Guy Bachar has published an interesting post on his blog Moving Users back to Lync on-premises from Lync Online (http://guybachar.wordpress.com/2014/03/31/moving-users-back-to-lync-on-premises-from-lync-online/), where he shows how he solved some errors related to the user motion by modifying the HostedMigrationOverrideUrl parameter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.34.197