Monday, July 19, 2021

Rollback users from Teams to Lync Server

 

 Rollback users from Teams to Lync Server 





This scenario apply only for individual or bulk moved users to Teams from Lync/SfB environment using Move-CsUser commands. 

It's not a common scenario where users move back to Lync from Teams but in a situation you might need it. 
Part of the process you may required to find hostedmigrationService related to your tenant. 

$url="https://admin1a.online.lync.com/HostedMigration/hostedmigrationService.svc"

you need to check above highlighted parameter which is related to your account. If you're using Get-TenantInfo.PS1 also one way of find the script and try 


Once you done with $url defined you can go for next step to move user back to onprem 

$cr=Get-Credential

Move-CsUser -Identity "madushka@deployskypeforbusiness.com" -Target "lyncpool.deployskypeforbusiness.com" -Credential $cr -Verbose

Prompt for $cr=credential make sure enter Teams administrator 

Once you move the user successfully can verify using following parameter 

HostingProvider should change it to SRV: 

Bulk users 

Save these users in CSV with a header sipaddress (this can be text with csv)

$Userlist = import-csv .\Userslist.csv
    ForEach ($AllMoveuser in $Userlist)
    {
    Move-CsUser -Identity $AllMoveUser.SipAddress -Target "sipfed.online.lync.com" -ProxyPool "lyncpool.deployskypeforbusiness.com" -Credential $cr -HostedMigrationOverrideUrl $url -Verbose
}


Enjoy! 



1 comment:

  1. The financial savings from running lights-out could be significant, however shouldn't stop a store from considering automation if reduced labor and operational prices can nonetheless be achieved. Finally, CNC-capable instruments regularly value far more than traditional machine shop instruments. While the automation offered by CNC normally creates financial savings down the road, startup prices could also be} larger. The packages running CNC machines are nonetheless conceived by people; a poorly-written program will lead to a poorly-made half. While most machines could be run by folks without extensive expertise CNC machining , this could mean that operators lack an in-depth understanding of the method behind machine operations. Calling a CNC system a “computer” isn’t completely correct, since it makes use of a special code; nevertheless, the analogy works properly sufficient to see the advantages.

    ReplyDelete

Azure vSBC App Registration for Teams Direct Routing (Cont)

Teams SBA registration was showing different errors due to couple reasons and this article share the experience i went through on that.  Thi...