Forum Discussion
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- damnit95Copper Contributor
ChrisWebbTechGreat 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.