Skip to main content

Get user (Microsoft 365)

Read a person's directory profile: name, email, job title, department, office and phone.

Command in the Microsoft 365 toolkit · id ooa.microsoft365/get_user · 3 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoMicrosoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
UserStringNomeme, or a user's id or email address.
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.

Outputs​

OutputTypeWhat it is
userDictionaryid, name, email, user_principal_name, job_title, department, office, mobile_phone.