A community member has associated this post with a similar question:
unified group name

Only moderators can edit this content.

unified group name associated with sharepoint site.

Roger Roger 4,951 Reputation points
2022-02-16T11:59:42.017+00:00

Hi All

i have a SharePoint site i want to know to which unified group it is associated with it. i want to fetch this information from SharePoint online PowerShell module. i did it earlier but i am unable to recall the syntax which i have used. The reason i want to fetch from PowerShell is i have lot of sites with the names test1, test11, test111, test12. experts guide me on this.

https://mydomain.sharepoint.com/sites/test1

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,221 questions
Microsoft Office Online Server
Microsoft Office Online Server
Microsoft on-premises server product that runs Office Online. Previously known as Office Web Apps Server.
585 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,620 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,175 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 95,181 Reputation points MVP
    2022-02-16T12:28:26.837+00:00

    Try this:

    Get-SPOSite -Identity https://tenant.sharepoint.com/sites/test1 -Detailed | select -ExpandProperty GroupId
    

    That will return the GUID of the associated group, if you need additional details you can then use the Get-UnifiedGroup cmdlet against it.

    0 comments No comments