HostedMigration fault: Error=(0)

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.

September 3rd, 2015 1:21pm

Oh yeah, I'm using the ISE and in the session where the script has run I can follow that up with a Get-CsUser $UPN command and retrieve the information from AD about the last user I wanted to migrated. And I can run a Get-CsTenant and Get-CsUser <my Identity> and see my Skype users information.  Which I think indicates I didn't typo my password and I'm connected to Skype for Business, I just can't connect to "BL20A09FES07.infra.lync.com"
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2015 1:51pm

The same thing happened to us.    We were doing migrations via powershell from Lync On-Prem to Lync Online with no issues and then after Sept. 2nd it stopped working and gives the same error.  Nothing changed in our environment to cause this.   We are now stalled on a 20000+ user migration.

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.)

We have had a premier case opened for over a week now and it has been escalated to the MS Lync Ops team but they have not been able to fix this for us.

Have you been able to get this fixed?

Thanks

September 10th, 2015 4:44pm

Nope.  I opened a case with the Skype For Business folks and they've collected a bunch of logs and called me asked me to run a command or two but still dead in the water.

But on the plus side I can tell my boss someone is having it worse than us :)

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 4:59pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics