Forum Discussion

damnit95's avatar
damnit95
Copper Contributor
Sep 03, 2019
Solved

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!

  • 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

4 Replies

  • 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

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