Forum Discussion
null null
Apr 18, 2020Iron Contributor
need a powershell script to display all office 365 public groups
Could you please let me know, if you have powershell script to display all the office 365 public groups.
VasilMichev
Apr 19, 2020MVP
The type of Group is shown when you list them via the Get-UnifiedGroup cmdlet or the graph API calls, so all the information you need is readily available. Here's an example:
Get-UnifiedGroup | ? {$_.AccessType -eq "Public"}
And if you need anything more out of it, I'm sure there are multiple samples available online, so just look them up.
Madankumar57
Oct 25, 2021Copper Contributor
I need to Sort Groups which are Public groups in Msoline