Create Microsoft 365 User
create_userCreates a Microsoft 365 user with a temporary password, returning the password for secure out-of-band delivery.
Instructions
Create a user with a generated temporary password. Returns the temporary password; store it securely and share out-of-band.
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": {
"displayName": "<displayName>",
"userPrincipalName": "<userPrincipalName>"
},
"name": "create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | ||
| displayName | Yes | ||
| mailNickname | No | ||
| checkExisting | No | ||
| usageLocation | No | ||
| accountEnabled | No | ||
| userPrincipalName | Yes | ||
| forceChangePasswordNextSignIn | No |