Table of Contents

Create user

Creates a new user in a Microsoft Entra ID tenant.

Example Flow

Example Example
This flow creates a user in the Microsoft Entra ID. The user information is received through an HTTP Trigger. After the user is created, the user details are logged using a function, and a confirmation email with the temporary passwordis sent using the Send email action.


Properties

Name Type Description
Title No The title of the action.
Connection Yes The Microsoft Entra ID connection to the tenant. The app registration/service principal must have (at minimum) the delegated or application permission User.ReadWrite.All (least privilege) to create a user.
User Principal Name Yes Enter or select a valid User Principal Name (UPN).
Password No Either enter or select a valid password, or leave empty to generate a new (returned in result).
First name No The first name (given name) of the user.
Last name No The last name (surname) of the user.
Display name No If not specified, the first/last name or first part of the UPN is used.
Mail nickname No Specify the part before @ in the mail adress. (often initials or alternative short (nick) names).
Enable Account No Specifies whether the user account is enabled (default).
Wait for user propagation No Specifies whether to pause until the user is fully created and synced in the Entra ID tenant (default: true).
Result variable name Yes The name of the variable that returns information about the created user.
Disabled No Boolean value indicating whether the action is disabled (true/false).
Description No Additional details or notes about the action.

Returns

Information about the created user:

Property Description
Id The user Id. May be null if not waiting for propagation.
Password The provided or generated temporary password (user must change at first sign‑in).
Display name The resolved display name.
MailNickname The resolved mail nickname.