SOLVED

List skype only users in Teams admin center

Copper Contributor

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!

4 Replies
best response confirmed by damnit95 (Copper Contributor)
Solution

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

@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!

1 best response

Accepted Solutions
best response confirmed by damnit95 (Copper Contributor)
Solution

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

View solution in original post