Forum Discussion
Dean_Gross
Apr 06, 2018Silver Contributor
Getting Office Group for a SPO Site
In Powershell, what is the recommended way to get the Office Group that is connected to an SPO Site?
- Apr 07, 2018Just edited my post and pasted the right URL (former one was just an error from my side)
I would say the Groups cmdlets are the way to go
Dean_Gross
Apr 07, 2018Silver Contributor
Can you provide a little bit more detail? when I look at the get-PnPUnifiedGroup cmdlet it needs the groupID. Is there a way to use a sposite property to get the groupID?
- Apr 07, 2018
Sure Dean, here you go: http://www.andrewjbillings.com/enumerating-sharepoint-sites-for-office-365-groups-with-powershell/
- Apr 07, 2018Just edited my post and pasted the right URL (former one was just an error from my side)
- Dean_GrossApr 07, 2018Silver Contributor
Gracias, I knew it had to be easy, I was just having a brain freeze.