Forum Discussion

Cathrina_de_Lange's avatar
Cathrina_de_Lange
Copper Contributor
Apr 08, 2024

Report showing all groups and all administrators of these groups?

Hi. Is it possible to get a report showing all groups and all administrators of these groups? If so, what is the name of the report? And what administrator rights do I need to create it?

1 Reply

  • So all Viva Engage groups are M365 Groups, so to retrieve all groups you need to use powershell or something that can use graph:

    Powershell:
    [array]$YammerGroups = Get-UnifiedGroup -ResultSize Unlimited | Where-Object {$_.GroupSku -eq "Yammer"}

    graph:

    https://graph.microsoft.com/v1.0/groups?$filter=groupTypes/any(a:a eq 'unified')&$select=id,displayName,creationOptions,resourceProvisioningOptions&$top=999

    Permission needed are:
    Permission:
    Directory.Read.All, Group.Read.All

     

     

    If you need help creating the full script, ping me 🙂 

Resources