ms-teams-users
Retrieves the user list of the Microsoft Entra tenant using Microsoft Graph API.
Syntax
ms-teams-users [profile=STRING] [limit=INT]
Options
- profile=STRING
- Optional. Microsoft Teams Graph API connect profile name. Every registered Microsoft Teams Graph API connect profile is queried when omitted.
- limit=INT
- Optional. Maximum number of users to retrieve. Specify a positive integer. Every user of the tenant is retrieved when omitted.
Output fields
| Field | Type | Name | Description |
|---|---|---|---|
| profile | string | Connect profile | Microsoft Teams Graph API connect profile name. e.g. ms_teams_graph |
| user | string | User | Sign-in name of the user (user principal name). e.g. hong@example.com |
| user_id | string | User ID | Object ID of the user (GUID) |
| user_name | string | User name | Display name of the user. e.g. Hong Gildong |
| string | Mail address of the user. null when not set | ||
| is_enabled | boolean | Enabled | Whether the account is enabled |