Tuesday, April 5, 2016

Moving On-Premise Lync User's to O365 cloud

In this Blog we will moving users to O365 cloud.

Before actually moving user's to Office 365, Please check with users are synchronized to O365 and licenses are assigned to particular migrating users.

Step 1

Open the new Lync Management Shell session and launch the remote session. We have to add the –AllowClobber parameter so that the Lync Online module's cmdlets are able to overwrite the corresponding Lync Management Shell cmdlets:

$credential = Get-Credential
$session = New-CsOnlineSession -Credential $credential
Import-PSSession $session -AllowClobber 

Step 2

Open the O365 Lync Admin Center  by going to Service settings | Lync | Manage settings in the Lync Admin Center, and copy URL, for example, https://admin0e.online.lync.com.

Step 3

Add the following string to the URL /HostedMigration/hostedmigrationservice.svc which we have copied earlier.


Step 4

The following Command will move users from Lync on-premises to Lync Online.

Move-CsUser -Identity ramesh@contoso.com –Target sipfed.online.lync.com -Credential $creds-HostedMigrationOverrideUrl https://admin0e.online.lync.com/HostedMigration/hostedmigrationservice.svc
Step 5

To check if user moved to Lync Online use the below command
Get-CsUser | fl DisplayName,HostingProvider,RegistrarPool,SipAddress command.

No comments:

Post a Comment