create_user
Creates a new Microsoft 365 user with display name, email/UPN, mail alias, and initial password, while enabling the account and requiring a password change by default.
Instructions
Create a new user in Microsoft 365
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"display_name": "<display_name>",
"user_principal_name": "<user_principal_name>",
"mail_nickname": "<mail_nickname>",
"password": "<password>"
},
"name": "create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | The initial password for the user | |
| display_name | Yes | The display name for the user | |
| mail_nickname | Yes | The mail alias for the user | |
| account_enabled | No | Whether the account is enabled | |
| user_principal_name | Yes | The user principal name (email format, e.g., user@domain.com) | |
| force_change_password | No | Whether user must change password on first login |