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.
NARASA SARAT MEDAPALLI
Jul 23, 2020Copper Contributor
LinusCansby What should be the .csv file look like. I used the userpricipalname in tab and the user name below it? That did not help me. Please share if there is an example file. Thanks
LinusCansby
Jul 25, 2020MVP
Header with SipAddress and then one sip address per row:
SipAddress
user1@contoso.com
user2@contoso.com