cipp_create_user
Creates a new user account in a Microsoft 365 tenant with initial password and optional license/role eligibility. Requires confirmation before execution.
Instructions
⚠ HIGH-IMPACT. Creates a new user account in the tenant, which grants directory presence and may include initial credentials and license/role eligibility. Reversible by deleting or disabling the user. Confirm with the user before invoking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Two-letter ISO 3166-1 alpha-2 country code representing the user's location (e.g. 'US', 'GB'). | |
| surname | No | The user's last name (surname). | |
| jobTitle | No | The user's job title as it appears in the directory. | |
| password | Yes | Initial password for the account. Should meet the tenant password complexity policy. | |
| givenName | No | The user's first (given) name. | |
| department | No | The department the user belongs to. | |
| displayName | Yes | The user's full display name as it will appear in the directory (e.g. 'Alice Smith'). | |
| tenantFilter | Yes | Tenant domain name or ID to scope the operation. Use 'allTenants' to target every managed tenant. | |
| userPrincipalName | Yes | The user's sign-in address / UPN (e.g. alice@contoso.com). Must be unique within the tenant. |