Azure Active Directory Administration - Create user

The Azure Active Directory Administration - Create user action A tool for building the processes, logic, and direction within workflows. creates a new user in your Azure Active Directory and retrieves their automatically-generated password. You can configure what additional information should be stored, such as an address or phone number, and whether the new user is required to change their password the first time they log in.

For example, as part of your employee onboarding, you create a user for the employee in Azure Active Directory with their department, employee ID and job title, and store the generated password in a variable that is emailed to the new employee from the workflow.

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

Configure the Azure Active Directory Administration - Create user 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.
  2. Type the display Name of the new user as it should be displayed.

    For example, Jane Smythe.

  3. Type the new user's User name.

    This is commonly the user's email address. It must be unique in your Azure Active Directory.

  4. Select whether to Force user to change password at first login.

    If you select No, the user can continue using the password you generate for them.

  5. To add additional information to the new user's account:
    1. Click Add field.
    2. Each field corresponds to information you can store about the user, for example their job title, department, or employee ID.

    1. Check the box of the field corresponding to the user's information you want to store.
    2. Tip: You can click Select all to automatically add all fields. To cancel your selections and begin again, click Clear selections.

    1. Click Add.
  6. For each field you selected, either type a value or select a variable.
  7. In the Store password (auto generated) field, create a variable to hold the automatically-generated password.

    You can send this password to the user by email or another method later in your workflow.

For more information on all the required and optional configuration fields, go to Azure Active Directory Administration - Create user action fields, buttons, and settings.

Azure Active Directory Administration - Create user 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 to add a user to Azure Active Directory.

(n/a)

Name Display name of the user you want to create. For example, Jane Smythe. Text, Decimal, Integer, Boolean, DateTime, Collection
User name Unique user name of the user you want to create. This is commonly an email address. Text, Decimal, Integer, Boolean, DateTime, Collection
Force user to change password at first login

Select:

  • Yes to force the new user to immediately change their password the first time they log in to their Azure Active Directory account.
  • No to allow the user to continue using the password that has been generated for them by this action.

Tip: You can also assign a boolean variable to this field.

Boolean

Add field

Displays selections for browsing, selecting, and adding fields for the user's Azure Active Directory account that you want to store.

(n/a)

(added fields)

Each field corresponds to the new user's information, such as department, job title, or employee ID.

To remove a field, click (Delete).

(varies)

Result

Stores the result of the action in an object with the following variables:

  • Store password (auto generated): Text variable that stores the password for the new user's account, which is automatically generated by Azure Active Directory. This variable can be sent to the user to log into their account for the first time.

Object