Skip to main content

Move-CsUser bulk using script from SfB to Teams

Moving users from Skype for business to Teams part of the migration process, We can do this process using GUI and also we can use the PowerShell to do the work. Following scripts i have added to my github too just incase someone want to take from it instead of my blog post.

In my script i was using csv file with one header which is "SipAddress". List down all the SipAddress of users you plan to move to Teams prior to following steps. 



  




Define following variables 

$cr=Get-Credential

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

Important:  provided account should have global admin or Teams admin & User Admin with SfB CSAdministrator permission 


#//Add all the users SIP address which required to move to Teams//

$User = import-csv .\Userslist.csv
    ForEach ($Alluser in $User)
    {
    Move-CsUser -Identity $AllUser.SipAddress -Target "sipfed.online.lync.com" -  ProxyPool "lyncpool.abc.com" -Credential $cr -HostedMigrationOverrideUrl $url -Verbose

 

#Convert TeamsOnly
        Grant-CsTeamsUpgradePolicy -PolicyName UpgradeToTeams -Identity $AllUser.SipAddress -verbose
 

#EnterpriseVoiceEnabled if you need to set remove and in my case i have remove it.
      #Set-CsUser -identity $AllUser.SipAddress -EnterpriseVoiceEnabled $true -verbose
}


Next article ill be sharing migration and bulk number mapping both using PowerShell


Comments

Popular posts from this blog

Skype for Business announces new Mac client and new mobile sharing experiences

Today Skype for business team publically announce that Skype for business Mac is available to download ( URL ) Its is supporting edge to edge video and full immersive content sharing and viewing, You can get good collaboration experience. And they have updated Skype Operation Framework also about this update. Please refer to them https://www.skypeoperationsframework.com/blogs Enjoy!!!

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://w...

Microsoft Teams user administration using Set-CsOnlineVoicemailUserSettings

Now tenant admin can help with user for custom greetings,  DefaultGreetingPromptOverwrite and  DefaultOofGreetingPromptOverwrite many other user settings on behalf of users. This may help to end users when they are away to set up forwarding rules to another colleague or external number etc. Set-CsUserCallingSettings  -Identity "madushka@abc.com"  -IsForwardingEnabled $True -ForwardingType Immediate -ForwardingTarget taniya@abc.com -ForwardingTargetType SingleTarget - Verbose Note : You must have PhoneSystem License attached for you to have this forwarding to a another person. Basically both users must have PhoneSystem License.  Forward to external number   when you try this make sure you are using E.164 standard for phone numbers.  Set-CsUserCallingSettings -Identity " madushka@abc.com"   -IsForwardingEnabled $True -ForwardingType Simultaneous -ForwardingTargetType SingleTarget -ForwardingTarget "+1365888xxx"  - Verbose Note : You...