SOLVED

List skype only users in Teams admin center

%3CLINGO-SUB%20id%3D%22lingo-sub-834371%22%20slang%3D%22en-US%22%3EList%20skype%20only%20users%20in%20Teams%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-834371%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20list%20every%20user%20in%20office%20365%20that%20have%20their%20coexistence%20mode%20set%20to%20%22skype%20for%20business%20only%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-834371%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECoexistence%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%20Admin%20Center%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-834463%22%20slang%3D%22en-US%22%3ERe%3A%20List%20skype%20only%20users%20in%20Teams%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-834463%22%20slang%3D%22en-US%22%3E%3CP%3EUtilize%20Powershell.%20You%20can%20connect%20using%20the%20following.%20Load%20up%20Powershell%20as%20admin.%20%3CBR%20%2F%3E%3CBR%20%2F%3EImport-Module%20SkypeOnlineConnector%3CBR%20%2F%3E%24sfbSession%20%3D%20New-CsOnlineSession%3CBR%20%2F%3EImport-PSSession%20%24sfbSession%3CBR%20%2F%3E%3CBR%20%2F%3EThen%20this%20to%20filter%20out%20to%20SfBOnly%3CBR%20%2F%3EGet-CsOnlineUser%20-Filter%20%7BTeamsUpgradePolicy%20-eq%20%22UpgradetoTeams%22%7D%20%7CSelect-Object%20DisplayName%2CUserPrincipalname%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20other%20possible%20modes%20are%20as%20follow.%20%3CBR%20%2F%3EIslands%3CBR%20%2F%3ESfBWithTeamsCollab%3CBR%20%2F%3ESfBWithTeamsCollabAndMeetings%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-834499%22%20slang%3D%22en-US%22%3ERe%3A%20List%20skype%20only%20users%20in%20Teams%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-834499%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3EGreat%20thanks!%20and%20how%20can%20I%20do%20to%20only%20display%20the%20username%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-834579%22%20slang%3D%22en-US%22%3ERe%3A%20List%20skype%20only%20users%20in%20Teams%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-834579%22%20slang%3D%22en-US%22%3EI%20edited%20my%20post%20hsa%20displayname%20%2C%20userpricipalname%20which%20is%20login%20name%2C%20just%20remove%20the%20displayname%2C%20and%20you'll%20get%20just%20the%20login.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-834584%22%20slang%3D%22en-US%22%3ERe%3A%20List%20skype%20only%20users%20in%20Teams%20admin%20center%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-834584%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3EThanks%20a%20lot%20for%20your%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional 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
Highlighted
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

Highlighted

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

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

@Chris WebbThanks a lot for your help!