Use Microsoft Entra ID (formerly Azure AD) bulk download features to export groups and their members to CSV.
To export all groups:
- Sign in to the Microsoft Entra admin center.
- In the left navigation, select Groups > All groups.
- Select Download groups.
- Enter a filename and select Start bulk operation.
- When the Success! notification appears, select its title, then select the filename to download the CSV.
The downloaded CSV includes, for each group:
- Object ID
- Display name
- Mail (if applicable)
- Group type (Security or Microsoft 365)
- Membership type (Assigned or Dynamic)
To export members of a specific group:
- In the Microsoft Entra admin center, go to Groups.
- Select the group, then go to the Members tab.
- On the command bar, select Download members (or Bulk operations > Download members).
- Enter a filename and select Start bulk operation.
- Open the Success! notification and select the filename to download the CSV.
The members CSV includes, for each member:
- Object ID
- User principal name (for user members)
- Display name
- Member type (User, Group, or Service Principal)
If needed, repeat the member export for each group and combine the CSVs offline (for example, in Excel) to build a consolidated view of groups and their members.
References: