> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Group Members

List the group's direct members.
A group can have users, organizational contacts, devices, service principals and other groups as members.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `GroupMember.Read.All`.
* **Higher privileged** Microsoft Graph permissions to access the action via **application**: `Directory.Read.All`, `Group.ReadWrite.All`, `GroupMember.ReadWrite.All`, `Group.Read.All`.

<Note>
  Currently service principals are not listed as group members due to staged roll-out of service principals on Graph V1.0 endpoint.
</Note>

<Note>
  External Documentation

  To learn more, visit the [Microsoft Entra ID documentation](https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0\&tabs=http).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                          |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
  | Group ID         | The ID of the group to list members from. You can obtain the ID using 'Get List Of Groups' action with the group name as the filter. |
  | Limit            | Set the page size of the returned results.                                                                                           |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                     |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"@odata.type": "#microsoft.graph.user",
		"id": "<USER ID>",
		"businessPhones": [],
		"displayName": "<USER DISPLAY NAME>",
		"givenName": null,
		"jobTitle": null,
		"mail": "<USER MAIL>",
		"mobilePhone": null,
		"officeLocation": null,
		"preferredLanguage": "en-US",
		"surname": null,
		"userPrincipalName": "<USER PRINCIPAL NAME>"
	}
]
```

## Workflow Library Example

[Sync Groups Between Azure Active Directory and Aws Sso](https://library.blinkops.com/workflows/sync-groups-between-azure-active-directory-and-aws-sso)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/sync-groups-between-azure-active-directory-and-aws-sso/canvas" />
</div>
