Azure Active Directory - Get user details

The Azure Active Directory - Get user details action A tool for building the processes, logic, and direction within workflows. retrieves information about an employee of an organization with a directory configured in Azure Active Directory. The information could be an employee's name, email, job title, country, and more.

For example, you want to retrieve the details of a new employee for HR onboarding purposes. By using the Azure Active Directory - Get user details action, you can retrieve these data, store them in an object, and insert the variables from the object in an email using the Send an email action.

For more information about Azure Active Directory, go to Azure Active Directory.

Configure the Azure Active Directory - Get user details action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  1. Select a Connection. If you do not have a connection, see Add a connection.
  1. Type the User email address of the user you want to retrieve information.

Azure Active Directory - Get user details action fields, buttons, and settings

Field

Description

Variable types

Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Azure Active Directory connection to use for retrieving a user's details.

(n/a)

User email address Email address of the user whose details you want to retrieve. Text, Decimal, Integer, Boolean, DateTime, Collection

Result

Stores the retrieved details in an object that has multiple variables. Each variable corresponds to a piece of information about the user. You can use these variables later in your workflow. The variables included and the variable type are listed below:

  • Account enabled: Boolean

  • Age group: Text

  • City: Text

  • Consent provided for minor: Text

  • Country or region: Text

  • Created date time: DateTime

  • Creation type: Text

  • Department: Text

  • Email: Text

  • Employee hire date: DateTime

  • Employee id: Text

  • Employee type: Text

  • External user state: Text

  • External user state change date time: DateTime

  • Fax number: Text

  • First name: Text

  • Is resource account: Boolean

  • Job title: Text

  • Last name: Text

  • Last password change date time: DateTime

  • Legal age group classification: Text

  • Mobile phone: Text

  • Name: Text

  • Office phone: Text

  • On premises distinguished name: Text

  • On premises domain name: Text

  • On premises sam account name: Text

  • On premises user principal name: Text

  • Show in address list: Boolean

  • Sign in sessions valid from date time: DateTime

  • State or province: Text

  • Street address: Text

  • Usage location: Text

  • User name: Text

  • Zip or postal code: Text

Object