Having a bad week.
I have a Lync Standard edition Single Server setup on Prem with around 800 users, We have recently configured Hybrid mode with Skype for Business and migrated a few users for testing. Last week I migrated an additional half doze to bring the total to 25. This week, I'm making a script to automate the migration process, just using variables instead of the names. And now it's not working. Support is looking into it but have not come up with a solution, I'm hoping someone here has seen this error before and can point me to a solution. My script is simple (I've tried this with and without the -Allow clobber, and the last commented out line was to verify I was pulling the correct info in a different test run), MoveToSkype is the brilliantly named AD group holding the users to be migrated to Skype for Business:
Import-Module ActiveDirectory Import-Module 'C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\Lync\Lync.psd1' # Set all variables here! # $LyncTarget = "sipfed.online.lync.com" $HostedURL = "https://admin0a.online.lync.com/HostedMigration/hostedmigrationservice.svc" $cred = Get-Credential $session = New-CsOnlineSession -Credential $cred Import-PSSession $session -AllowClobber $Users = Get-ADGroupMember MoveToSkype ForEach ($User in $Users) { $Props = Get-aduser $User.samaccountname -Properties UserPrincipalName $UPN = $Props.UserPrincipalName Move-CsUser -Identity $UPN -Target $LyncTarget -Credential $cred -HostedMigrationOverrideUrl $hostedURL -Confirm:$False #Get-CsUser -Identity $UPN }
When I run this script, and then later on when I run the same line that worked last week I get the following error:
Move-CsUser : HostedMigration fault: Error=(0), Description=(Unable to connect to some
of the servers in pool "BL20A09FES07.infra.lync.com" 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.)
I've found articles about that error in on-prem to on-prem migrations but obviously I can't logon to "BL20A09FES07.infra.lync.com" and change DCOM permissions.
The only thing I've found that seems to be wrong is I can't resolve "BL20A09FES07.infra.lync.com", but I don't know if that was resolvable before.
Does anyone see a problem in my script or has anyone seen this error before?
Any help would be appreciated.