Avatar of Christian Hans
Christian Hans
Flag for United States of America asked on

Moving Lync users to Skype Online?

Looking for some assistance from my Skype for Business community...

I have a Lync 2013 server on premesis and need to migrate them to Skype for Business Online (O365)

What am I doing wrong, and what should the process look like? Do I need to assign users the S4B license first before running the below commands?


PS C:\Windows\system32> Move-CsUser -Identity "Bob.Hope@domain.com" -Target sipfed.online.lync.com -Credential $cred -HostedMigrationOverrideUrl https://adminxyz.online.lync.com/HostedMigration/hostedmigrationservice.svc
WARNING: Moving a user from the current version to an earlier version (or to a service version) can cause data loss.
Move-CsUser : HostedMigration fault: Error=(507), Description=(User must has an assigned license to use Lync Online.)
At line:1 char:1
+ Move-CsUser -Identity "Bob.Hope@domain.com" -Target sipfed.online.lync.co ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (CN=Hope\, Bob,...domain,DC=local:OCSADUser) [Move-CsUser], MoveUserException
    + FullyQualifiedErrorId : MoveError,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsUserCmdlet
 




PS C:\Windows\system32> Move-CsUser -Identity "Bob.Hope@domain.com" -Target sipfed.online.lync.com -Credential $cred -HostedMigrationOverrideUrl https://adminxyz.online.lync.com/HostedMigration/hostedmigrationservice.svc
WARNING: Moving a user from the current version to an earlier version (or to a service version) can cause data loss.
Move-CsUser : Unable to connect to some of the servers in pool "ONPREM.DOMAIN.LOCAL" due to a Distributed Component Object Model (DCOM) error.  Verify that Front End service is running on servers in this
pool. If the pool is set up for load balancing, verify that load balancer is configured correctly.
At line:1 char:1
+ Move-CsUser -Identity "Bob.Hope@domain.com" -Target sipfed.online.lync.co ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (CN=Hope\, Bob,...domain,DC=local:OCSADUser) [Move-CsUser], MoveUserException
    + FullyQualifiedErrorId : MoveError,Microsoft.Rtc.Management.AD.Cmdlets.MoveOcsUserCmdlet


    Thanks in advance.
SkypeMicrosoft 365

Avatar of undefined
Last Comment
Scott C

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Scott C

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Christian Hans

ASKER
Thanks ScottCha...

Let me see if I can find what Im missing... I do have the URL at the end:

Move-CsUser -Identity "Bob.Hope@domain.com" -Target sipfed.online.lync.com -Credential $cred -HostedMigrationOverrideUrl https://adminxyz.online.lync.com/HostedMigration/hostedmigrationservice.svc

I think the problem may be that when we migrate users to Office 365 we are enabling their E1 or E3 licenses, which is then enabling the MCOSTANDARD (Skype for Business Online) service.

I need to find a way to get the services turned off, and then re-enable the service and migrate them.
Scott C

Answer provided should answer question.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23