Wednesday, June 8, 2016

Move users to and from Lync Online

Move users to Skype for Business Online

Move-CsUser -Identity -Target -Credential $creds -HostedMigrationOverrideUrl <URL>


Move users back to on-premises

Move-CsUser -Identity -Target -Credential $cred -HostedMigrationOverrideUrl <URL> -DomainController <DC>


I found that if the "-DomainController" switch is not used then the move fails with the error - Move-CsUser : Cannot find user in Active Directory with the following SIP URI:<>