Moving Skype for business users to teams only mode.

Darryl 256 Reputation points


I'm trying to migrate users to Teams only mode for our on premise Skype for Business. We're still on CU4 which is why the -teamsonly parameter isn't available. Is there another way to PowerShell moving users to Teams only mode?
I have the PowerShell to migrate users from on premise S4B to S4B online, and can use the Teams Admin center to manually change users to Teams only but I'd like to script it if possible


Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,238 questions
Skype for Business
Skype for Business
A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.
606 questions
0 comments No comments
{count} votes

Accepted answer
  1. Darryl 256 Reputation points


    Thanks for the reply, my problem was that the -MoveToTeam parameter wasn't supported in my version of SkypeForBusiness so I wanted another way of doing it. I found another PowerShell command - Grant-CsTeamsUpgradePolicy -Identity $user -PolicyName UpgradeToTeams - that seems to work fine. so I'll stick with that

    I ran this from a remote ps-session.

    $sfbsession=New-CsOnlineSession -Credential get-credential
    Import-PSSession $sfbsession -AllowClobber
    Grant-CsTeamsUpgradePolicy -Identity $user -PolicyName UpgradeToTeams 
    Remove-PSSession $sfbsession

1 additional answer

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,061 Reputation points Microsoft Vendor

    @Darryl ,

    The following cmdlet sequence can be used to move a user to TeamsOnly and assumes the Microsoft 365 or Office 365 credential is a separate account and supplied as input for the Get-Credential prompt.

    Move-CsUser -Identity -Target -MoveToTeams -Credential $cred -HostedMigrationOverrideUrl $url  

    For more details, please refer to this article.

    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments