Forum Discussion
damnit95
Sep 03, 2019Copper Contributor
List skype only users in Teams admin center
Hi, I am trying to list every user in office 365 that have their coexistence mode set to "skype for business only" Thanks for your help!
- Sep 03, 2019
Utilize Powershell. You can connect using the following. Load up Powershell as admin.
Import-Module SkypeOnlineConnector
$sfbSession = New-CsOnlineSession
Import-PSSession $sfbSession
Then this to filter out to SfBOnly
Get-CsOnlineUser -Filter {TeamsUpgradePolicy -eq "UpgradetoTeams"} |Select-Object DisplayName,UserPrincipalname
The other possible modes are as follow.
Islands
SfBWithTeamsCollab
SfBWithTeamsCollabAndMeetings
Sep 03, 2019
I edited my post hsa displayname , userpricipalname which is login name, just remove the displayname, and you'll get just the login.
damnit95
Sep 03, 2019Copper Contributor
ChrisWebbTechThanks a lot for your help!