Hi,<\/p>\n
We sometimes have groups that have groups as members. I am trying to figure out how to determine all groups a given group is a member of, if any.<\/p>\n
Searching around I found some suggestions on how to determine the groups a user belongs to but not groups.<\/p>\n
One thing that is confusing me is that one example I found uses the cmdlet, Get_UnifiedGroup and Get-UnifiedGroupLinks. But I can’t find them on my system, what I find is Get-PNPUnifiedGroup but no Get-PNPUnifiedGroupLinks. So what module do I have to install to pick these up?<\/p>\n
We are using Exchange Online.<\/p>\n
Any suggestions are greatly appreciated.<\/p>","upvoteCount":5,"answerCount":5,"datePublished":"2021-08-10T21:25:02.000Z","author":{"@type":"Person","name":"linnkubler","url":"https://community.spiceworks.com/u/linnkubler"},"suggestedAnswer":[{"@type":"Answer","text":"
Hi,<\/p>\n
We sometimes have groups that have groups as members. I am trying to figure out how to determine all groups a given group is a member of, if any.<\/p>\n
Searching around I found some suggestions on how to determine the groups a user belongs to but not groups.<\/p>\n
One thing that is confusing me is that one example I found uses the cmdlet, Get_UnifiedGroup and Get-UnifiedGroupLinks. But I can’t find them on my system, what I find is Get-PNPUnifiedGroup but no Get-PNPUnifiedGroupLinks. So what module do I have to install to pick these up?<\/p>\n
We are using Exchange Online.<\/p>\n
Any suggestions are greatly appreciated.<\/p>","upvoteCount":5,"datePublished":"2021-08-10T21:25:02.000Z","url":"https://community.spiceworks.com/t/list-groups-that-a-m365-group-is-a-member-of/808071/1","author":{"@type":"Person","name":"linnkubler","url":"https://community.spiceworks.com/u/linnkubler"}},{"@type":"Answer","text":"
When you connect to Exchange online, you can not use ‘Get-UnifiedGroup’ ?<\/p>\n