Moving Users Between Lync On-Premise and Lync Online

After both environments have been fully deployed and the relationship between them has been established, users can be moved from an on-premise pool to the Lync Online tenant using a PowerShell cmdlet. Before moving users to Lync Online, the pool FQDN of the Lync Online tenant must first be determined, since it must be entered as one of the parameters for the PowerShell cmdlet. The following steps can be used to determine the pool FQDN of the Lync Online tenant:

1. Log on to the Office 365 Portal.

2. On the main page, click the Admin tab at the top, and then select Lync from the drop-down menu to open the Lync Admin Center.

3. In the browser address bar, copy the first portion of the address listed, up to the lync.com string. For example, a typical Lync Online pool FQDN would be https://admin.online.lync.com. Then, append the following string to the URL just copied: /HostedMigration/hostedmigrationservice.svc. These two strings combine to form the HostedMigrationOverrideUrl value, which will be specified in the PowerShell cmdlet used to move users to the online tenant. Using the preceding example, the resulting URL value would be https://admin.online.lync.com/HostedMigration/hostedmigrationservice.svc.

After the HostedMigrationOverrideUrl value is identified, use PowerShell to move an on-premise user to the online tenant, using the following steps:

1. Log on to a system where the Lync Server management tools are installed, and open the Lync Server Management Shell.

2. Execute the following command to establish credentials for the session:

$cred=Get-Credentials

3. At the prompt, enter the credentials of a Lync Online/Office 365 administrative account.

4. Execute the following command to move the user to the online tenant, where <SIPaddress> is the SIP URI of the user account, and <URL> is the value previously identified as the HostedMigrationOverrideUrl for the online tenant:

Move-CsUser -Identity <SIPaddress> -Target sipfed.lync.online.com -Credentials $cred -HostedMigrationOverrideUrl <URL>

To move a user from the online tenant back to an on-premise Lync pool, use the following procedure:

1. Log on to a system where the Lync Server management tools are installed, and open the Lync Server Management Shell.

2. Execute the following command to establish credentials for the session:

$cred=Get-Credentials

3. At the prompt, enter the credentials of a Lync Online/Office 365 administrative account.

4. Execute the following command to move the user to the on-premise Lync pool, where <SIPaddress> is the SIP URI of the user account, and <PoolFQDN> is the fully qualified domain name of the on-premise Lync pool:

Move-CsUser -Identity <SIPaddress> -Target <PoolFQDN> -Credentials $cred

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

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