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)
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:<>
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)
Hi-
ReplyDeleteHave you found that you get this error under other circumstances? Even when you add -DomainController?
J.
Hi J. Can you provide the command as well as the error you are seeing?
ReplyDeleteI am having the same problem. Here is my command:
ReplyDeleteMove-CsUser -Identity user@xxx.com -Target sipfed.online.lync.com -Credential $creds -HostedMigrationOverrideUrl https://admin0a.online.lync.com/HostedMigration/hostedmigrationservice.svc -DomainController SERVER.xyz.local
Here is the error:
Move-CsUser : HostedMigration fault: Error=(201), Description=(Cannot finduser in Active Directory with the following SIP URI:
"sip:user@xxx.com")
I verified the sip is valid and is returned upon search.
Hey Brian, do you have a multi-domain forest structure in your AD? If so, try to point to the DC that contains the user. I'm not sure if you can point to a GC for this cmdlet.
Delete