Wednesday, June 8, 2016

Move users to and from Lync Online


Move users to Skype for Business Online

Move-CsUser -Identity username@contoso.com -Target sipfed.online.lync.com -Credential $creds -HostedMigrationOverrideUrl <URL>

(https://technet.microsoft.com/en-us/library/jj204969.aspx)



Move users back to on-premises

Move-CsUser -Identity username@contoso.com -Target localpool.contoso.com -Credential $cred -HostedMigrationOverrideUrl <URL> -DomainController <DC>

(https://technet.microsoft.com/en-us/library/jj204967.aspx)

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:<>