Create user
Create an Entra ID user with a first password from the vault; it is asked to change it at the first sign-in unless told otherwise.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/entra_create_user · 11 inputs (3 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Display name | String | Yes | Display name. | |
| User principal name | String | Yes | Sign-in name in one of the tenant's domains. | |
| Password | Credential | Yes | First password, from the vault. | |
| Account enabled | Boolean | No | true | The account can sign in straight away. |
| Mail nickname | String | No | Mail alias; the part of the sign-in name before @ when empty. | |
| Department | String | No | Department. | |
| Job title | String | No | Job title. | |
| Force password change | Boolean | No | true | Ask for a new password at the first sign-in. |
| Fields | Dictionary | No | More Graph user properties to set. | |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |
Outputs
| Output | Type | What it is |
|---|---|---|
| user_id | String | The new user's object id. |