Microsoft Teams

Download 33
Last updated Nov 20, 2026

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

FieldTypeNameDescription
profilestringConnect profileMicrosoft Teams Graph API connect profile name. e.g. ms_teams_graph
userstringUserSign-in name of the user (user principal name). e.g. hong@example.com
user_idstringUser IDObject ID of the user (GUID)
user_namestringUser nameDisplay name of the user. e.g. Hong Gildong
emailstringEmailMail address of the user. null when not set
is_enabledbooleanEnabledWhether the account is enabled