Jan 02 2019 12:36 AM
Hi,
I am trying to pull Office 365 Groups and all site collections report via PowerShell. This is how I did it:
Here is the issue: When I count the no. of sites with template = GROUP#0 returned in second report (via PnP), the count is not the same as no. of groups found in first report. There is a difference around 200. Is there any possibility that Group connected site can be created even without having group type = UnifiedGroup? What am I missing here?
-Prashant.
Jan 02 2019 04:13 AM
Jan 02 2019 06:09 AM
Thanks. I will check that.
Is there any possibility that we can get the Group details using SPO URL like Alias, group id etc.
Jan 02 2019 11:28 AM
If you cannot use the ExO PowerShell cmdlets, your best bet is the Graph API. Or use the built-in reports as Juan suggested.
Jan 03 2019 06:26 AM
Ok so I got the group details based on SPO site url via site property bag keys "GroupId" and "GroupAlias". I will further investigate this.