List skype only users in Teams admin center

Occasional Contributor



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!

4 Replies
best response confirmed by damnit95 (Occasional Contributor)

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.

@Chris WebbGreat thanks! and how can I do to only display the username?

I edited my post hsa displayname , userpricipalname which is login name, just remove the displayname, and you'll get just the login.

@Chris WebbThanks a lot for your help!