Skip to main content

Create User

Create a new user.

  • Least privileged Microsoft Graph permission to access the action via application: User.ReadWrite.All.
  • Higher privileged Microsoft Graph permission to access the action via application: Directory.ReadWrite.All.
External Documentation

To learn more, visit the Microsoft Entra ID documentation.

Parameters

ParameterDescription
Account EnabledTrue if the account is enabled; otherwise, False.
Display NameThe name to display in the address book for the user.
Force User To Change Password On Next Sign-InTrue if the user must change her password on the next login; otherwise false. If not set, default is false.
Force User To Change Password On Next Sign-In With MFAIf true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
Mail NicknameThe mail alias for the user.
On Premises Immutable IDOnly needs to be specified when creating a new user account if you are using a federated domain for the user's userPrincipalName (UPN) property.
PasswordThe password for the user.
User Principal NameThe user principal name (someuser@contoso.com). It's an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains.

Workflow Library Example

Create a Temporary User with Active Directory

Workflow LibraryPreview this Workflow on desktop