> ## 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 Users

List all users in AD account.

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

<Note>
  External Documentation

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

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                       |
  | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filter           | Optional filter string. Visit the [Microsoft documentation](https://learn.microsoft.com/en-us/graph/filter-query-parameter) for more information. |
  | Limit            | Set the page size of the returned results.                                                                                                        |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                  |
  | Select           | A comma-separated list of columns to retrieve.<br /><br />**For Example:** `select=id,displayName`                                                |
</div>

## Example Output

```json theme={"dark"}
{
	"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users",
	"value": [
		{
			"businessPhones": [],
			"displayName": "Conf Room Adams",
			"givenName": null,
			"jobTitle": null,
			"mail": "Adams@contoso.com",
			"mobilePhone": null,
			"officeLocation": null,
			"preferredLanguage": null,
			"surname": null,
			"userPrincipalName": "Adams@contoso.com",
			"id": "6ea91a8d-e32e-41a1-b7bd-d2d185eed0e0"
		},
		{
			"businessPhones": [
				"425-555-0100"
			],
			"displayName": "MOD Administrator",
			"givenName": "MOD",
			"jobTitle": null,
			"mail": null,
			"mobilePhone": "425-555-0101",
			"officeLocation": null,
			"preferredLanguage": "en-US",
			"surname": "Administrator",
			"userPrincipalName": "admin@contoso.com",
			"id": "4562bcc8-c436-4f95-b7c0-4f8ce89dca5e"
		}
	]
}
```

## Workflow Library Example

[Enforce and Enable Mfa for Cloud and Tools for All Azure Users](https://library.blinkops.com/workflows/enforce-and-enable-mfa-for-cloud-and-tools-for-all-azure-users)

<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/enforce-and-enable-mfa-for-cloud-and-tools-for-all-azure-users/canvas" />
</div>
