Get details on office 365 groups

%3CLINGO-SUB%20id%3D%22lingo-sub-1214043%22%20slang%3D%22en-US%22%3EGet%20details%20on%20office%20365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1214043%22%20slang%3D%22en-US%22%3E%3CP%3EGuys%2C%3C%2FP%3E%3CP%3ELooking%20for%20all%20office%20365%20groups%20that%20are%20public%20or%20private.%20is%20there%20a%20powershell%20that%20can%20dump%20that%20information%20into%20excel%20sheet.%3C%2FP%3E%3CP%3EThe%20office%20365%20report%20doesn't%20list%20public%20or%20private.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJohn%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1214043%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1215859%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20details%20on%20office%20365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1215859%22%20slang%3D%22en-US%22%3E%3CP%3EGet-UnifiedGroup%20gives%20you%20this%20information%20right%20away.%20And%20in%20the%20portal%2C%20you%20can%20simply%20add%20the%20%22Type%22%20column%20to%20the%20report.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1216904%22%20slang%3D%22en-US%22%3ERE%3A%20Get%20details%20on%20office%20365%20groups%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1216904%22%20slang%3D%22en-US%22%3EType%20give%20you%20information%20if%20it%20is%20O365%20group%20or%20security%20group%2C%20mail-enabled%20group.%20What%20i%20was%20looking%20for%20was%20private%20vs%20public%20group%20along%20with%20TYPE.%20Thanks%2C%20appreciate%20the%20response%20in%20advance.%3C%2FLINGO-BODY%3E
Occasional Contributor

Guys,

Looking for all office 365 groups that are public or private. is there a powershell that can dump that information into excel sheet.

The office 365 report doesn't list public or private.

 

Thanks,

John

3 Replies

Get-UnifiedGroup gives you this information right away. And in the portal, you can simply add the "Type" column to the report.

Type give you information if it is O365 group or security group, mail-enabled group. What i was looking for was private vs public group along with TYPE. Thanks, appreciate the response in advance.

@john98683 

 

Connect-ExchangeOnline 

Get-UnifiedGroup | where {($_.accesstype -like "Private")}