Forum Discussion

blue-man's avatar
blue-man
Iron Contributor
Jan 29, 2018
Solved

Moving a User to Skype for Business Online

 

I am trying to move my account to Skype for Business Online, but I am getting the issue below:

 

From the Skype for business server management shell I run:


$cred=Get-Credential
Move-CsUser sip:firstname.lastname@domain.com -Target sipfed.online.lync.com -Credential $cred -HostedMigrationOverrideUrl https://name.online.lync.com/HostedMigration/hostedmigrationservice.svc

 

 

Rather than use the credentials that I am inputting after entering the $cred=Get-Credential command it is using my domain admin credentials (the credentials I am logged onto the server with).


Move-CsUser : Login failed for user 'domain\username'.
At line:1 char:1
+ Move-CsUser sip:firstname.lastname@domain.com -Target sipfed.online.lync.com
-Cre ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (:) [Move-CsUser], SqlConnectionEx
ception
+ FullyQualifiedErrorId : Microsoft.Rtc.Common.Data.SqlConnectionException
,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsUserCmdlet

15 Replies