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
.
External Documentation
To learn more, visit the Microsoft Entra ID documentation.
Parameters
Parameter | Description |
---|---|
Filter | Optional filter string. Visit the Microsoft documentation for more information. |
Example Output
{
"@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
Preview this Workflow on desktop