Forum Discussion
Chad Rodriguez
Sep 11, 2019Copper Contributor
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?
- 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.
Ram_vignesh1987
May 14, 2020Copper Contributor
LinusCansby same way i am getting error i want to know from which machine i want run the script
LinusCansby
May 14, 2020MVP
Ram_vignesh1987 If you are moving from Skype for Business Online to Teams you can run it from any machine, just connect to Skype for Business Online Powershell.
- Ram_vignesh1987May 15, 2020Copper Contributor
Do we first connect o365 in powershell then run the script in the powershell even i am not able to find