cipp_list_users
List users in a Microsoft 365 tenant, with optional search by display name, user principal name, or email.
Instructions
List users in a tenant
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tenantFilter": "<tenantFilter>"
},
"name": "cipp_list_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| searchField | No | The user attribute to search on. Must be provided together with searchValue. | |
| searchValue | No | Value to match against the chosen searchField. displayName matches on prefix; userPrincipalName and mail must match exactly. Omit both search parameters to list every user in the tenant. | |
| tenantFilter | Yes | Tenant domain name or ID to scope the operation. Use 'allTenants' to target every managed tenant. |