Skip to main content

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! 



Comments

Popular posts from this blog

This Web browser or operating system might not be compatible with Microsoft Silverlight

Crazy error getting from Silver Light while your trying to open newly installed skype for business 2015 on top of Windows Server 2016. Since i installed Silverlight already i was checking control panel the version what i installed its latest and which you can confirm by going to this URL -  https://www.microsoft.com/getsilverlight/locale/en-us/html/Microsoft%20Silverlight%20Release%20History.htm     According to above web and control panel it says same version but my setup cant access the configuration wizard getting following error. to fix nothing do just that add this URL ( https://<pool01FQDN>/cscp to trusted sites and refresh the page then this will go. Note: This error will mislead to check on other browser version and etc and you might check supported version for WinSvr 2016. No required those. Hope this will save your time. Please like FB pages you find more - https://www.facebook.com/office365wwc/   SfB - https://www.facebook.com/Unofficial-Skype-for-Bu