CmdID

CmdID / az / az ad / az ad user

az ad user create

Create a user. Azure CLI reference

1 example 5 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a user

az ad user create --display-name myuser --password password --user-principal-name myuser@contoso.comIdentify
--display-nameobject's display name or its prefix
--passwordThe password that should be assigned to the user for authentication.
--user-principal-nameThe user principal name (someuser@contoso.com).

Options

5 in the Azure CLI reference
--force-change-password-next-sign-inMarks this user as needing to update their password the next time they authenticate.
--immutable-idThis property is used to associate an on-premises Active Directory user account to their Microsoft Entra user object.
--mail-nicknamemail alias.
--passwordThe password that should be assigned to the user for authentication.
--user-principal-nameThe user principal name (someuser@contoso.com).