Forum Discussion
Migrate Skype User
Hi,
Looks like the Skype for Business powershell is not loaded, you need the On-premises powershell module to be loaded to be able to run Get-CsUser.
- Roger RogerFeb 15, 2019Iron Contributor
I am have used the below syntax on skype onprem i am getting below error.
my account on skype onprem is different than skype online and MFA is enabled for my skyponline user.Get-CsUser -Identity sip:onpremuser@flydubai.com | Move-CsUser -Target sipfed.online.lync.com -Credential $creds
Confirm
Move-CsUser
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend
[?] Help(default is "Y"): A
Move-CsUser : Failed to logon with given credentials. Make sure correct user
name and password provided. At line:1 char:55 + Get-CsUser -Identity sip:onpremuser@flydubai.com | Move-CsUser -Target
sipfed ...
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: [Move-CsUser], CommonAuthException
+ FullyQualifiedErrorId : MoveError,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsUserCmdlet- LinusCansbyFeb 15, 2019MVPYou run it from on-premises, you can also use the Skype Control Panel.
https://docs.microsoft.com/en-us/skypeforbusiness/hybrid/move-users-from-on-premises-to-skype-for-business-online