Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Create a new user, with the body containing the user to create.
Inputs
Expand All
Champ
Type
Description
accountEnabled
boolean
True if the account is enabled; otherwise, false.
displayName [required]
string
The name to display in the address book for the user.
onPremisesImmutableId
string
Only needs to be specified when creating a new user account if you are using a federated domain for the user's userPrincipalName (UPN) property.
mailNickname [required]
string
The mail alias for the user.
userPrincipalName [required]
string
The user principal name is a login name that follows the format alias@domain. It must be based on a verified domain and has specific character restrictions.
passwordProfile [required]
object
The password profile for the user.
forceChangePasswordNextSignIn
boolean,null
forceChangePasswordNextSignInWithMfa
boolean,null
If 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.
password
string,null
The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required.