Get details on office 365 groups

Copper 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")}