Forum Discussion

Chad Rodriguez's avatar
Chad Rodriguez
Copper Contributor
Sep 11, 2019
Solved

Move some users to "Teams Only" mode with powershell

Does anyone have a script that will move users in bulk from islands mode to ms teams only please?
  • LinusCansby's avatar
    Sep 11, 2019

    This is a simple script that reads sip address from a csv file and change mode.

     

    $Users = Import-Csv -Path c:\temp\users.csv
    
    foreach($User in $Users)
    {
    
    Grant-CsTeamsUpgradePolicy -Identity $User.SipAddress -PolicyName UpgradeToTeams
    
    }

     

    If you want to change for all users in your organisation you can change the default mode instead. Teams Admin Center > Org-wide Settings > Teams Upgrade, change Coexistence mode to Teams only.

Resources