Just sharing a small post on the issue we encountered on one of the accounts that we were trying to ENABLE for SKYPE for business in Hybrid environment
We were using below PS command to do so
Enable-CsUser -Identity “TESTUSER” -SipAddress “sip:TESTUSER@Labtest.com“ -HostingProviderProxyFqdn “sipfed.online.lync.com”
This was generating error “Cannot Move User in Enable Operation” User Move User cmdlet instead.
We tried to move it using Move-CS user cmdlet as well, although we were aware that it was not enabled on the Lync environment.
$UserCredential = get-credential
Move-CsUser -IdentityTESTUSER@labtest.com -Target sipfed.online.lync.com -Credential $UserCredential -HostedMigrationOverrideUrl https://admin1a.online.lync.com/HostedMigration/hostedmigrationservice.svc -confirm:$false
It also resulted in the error stating that there is something wrong with the account.
This clicked us to log on to ADSIEDIT & check its properties, We found msRTCSIP-DeploymentLocator was set as SRV: which means it is pointing to onpremise lync server 🙂
We cleared this property and after that we were able to Enable the user for SKype Online.
There might be other lync properties that are set at the back-end & can cause issue like this in hybrid environment , we found only one property in our case, if you find others than clean those as well.
Thanks for reading.