When deploying Skype for business, you might want to deploy a Hybrid deployment where users are hosted on both on-premises servers and on Office 365 Skype for business.
In this case You’ll need to make sure that integration is working and that you can move users directly from the SfB Control panel without even needing the use of Powershell.
Although sometimes it’s easy but problems could rise anytime like the one below.
HostedMigration fault: Error=(507), Description=(The user could not be moved because he or she has not been an assigned a Skype for Business Online license. Users must be licensed before they can be moved to Skype for Business Online.)
In case you wanted to move a user from on-prem s4b to Online and you get this error … then most likely you didn’t assign the user a license after you have used DirSync or Azure AD connect to sync this user.
Login to your O365 Portal and assign the user a license or subscription that includes Office 365 Skype for Business Online … then try to move the user
I assigned a license
For changes to take effect, I will go to Dirsync and force the user to be synced..
If the moved user that was moved is logged on, it will log off and try to login with Skype for business Online
Moving users from cloud to on-prem.
Moving user at 4:05PM Exactly. The client disconnected automatically and kept on trying to connect again.
It took the client about 2.5 minutes to connect back to the user after he was successfully moved back to on-premises
sip:[email protected],00000000-0000-0000-0000-000000000000,a7ba6e0a-bb11-5772-a075-fcc5f0adb0cc,s4bfe01.moh10ly.com,03/12/2016 14:04:41,31304.5612,15.3197,0,0,0,0,0,0,0,Success,0,0,0