Actions129
- Calendar Permission Actions
- CIPP Administration Actions
- Execute API Client (GET)
- Execute Auto Backup
- Execute Extension Mapping (GET)
- Execute Extension Mapping (POST)
- Execute Extension Sync
- Execute Extensions Config
- Execute Password Config (POST)
- Execute Restore Backup
- Execute Run Backup
- List Custom Roles
- List Extension Sync
- List Logs
- List Scheduled Items
- Remove Scheduled Item
- Execute API Client (POST)
- Execute Extension Test
- Execute Password Config (GET)
- List Backups
- List Function Parameters
- Group Actions
- Intune Actions
- Add MSP App
- Add Office App
- Add Policy
- Add Store App
- Assign App
- Assign Autopilot Device
- Device Action
- Get Recovery Key
- List Applications
- List Application Queue
- List Autopilot Config
- List Devices
- List Intune Scripts
- List Intune Templates
- Remove Autopilot Device
- Remove Policy
- Remove Queued App
- Add Choco App
- Add WinGet App
- Assign Policy
- Get Local Admin Password
- List Autopilot Devices
- List Intune Policies
- Remove App
- Remove Intune Script
- Sync Autopilot Devices
- License Actions
- Security & Compliance Actions
- Teams & SharePoint Actions
- Tenant Actions
- Add Alert
- Clear Tenant Cache
- Execute CA Exclusion
- Execute Named Location
- Get Tenant
- List Alerts Queue
- List Azure AD Connect Status
- List Conditional Access Policies
- List Named Locations
- List Shared Mailbox Statistics
- List Standards
- List Tenants
- Remove Standard Template
- Add Named Location
- Edit Tenant
- Execute Standards Run
- List Audit Logs
- List CSP Licenses
- List Roles
- List Standard Templates
- Tool Actions
- User Actions
- Add User
- Exec Restore Deleted User
- List User
- List User Conditional Access Policies
- List User Groups
- Clear Immutable ID
- Create Temporary Access Password
- Delete User Device
- Dismiss Risky User
- List Deleted Items
- List Inactive Accounts
- List Sign-Ins
- Remove User
- Reset MFA
- Restore Deleted Item
- Revoke Sessions
- Set Email Forward
- Set Per-User MFA
- List All Users
- List User Counts
- List User Devices
- Convert Mailbox
- Disable User
- Enable Archive
- List MFA Users
- Offboard User
- Reset Password
- Send MFA Push
- Set Out of Office
Overview
This node operation allows adding a new user to the system via the CIPP API. It is useful for automating user creation in organizational environments, such as onboarding new employees or managing user accounts in bulk. Practical examples include setting up user profiles with personal and contact details, assigning licenses, and configuring password policies automatically.
Use Case Examples
- Create a new user with specified first name, last name, and username, automatically generating a password and requiring password change at next login.
- Add a user with detailed contact information, job title, and assign specific licenses.
- Add a user and send the creation result to a webhook or email for notification purposes.
Properties
| Name | Meaning |
|---|---|
| Usage Location | The usage location for the user, selected from a predefined list of countries. |
| First Name | The first name of the user. |
| Last Name | The last name of the user. |
| Display Name | The display name of the user. |
| Username | The username for the user without domain. |
| Primary Domain | Primary domain for the user, e.g., n8layer.com. |
| Auto Generate Password | Whether to automatically generate a password for the user. |
| Must Change Password | Whether the user must change their password at next login. |
| Remove Licenses | Whether to remove licenses from the user. |
| License SKU ID | Comma-separated list of license SKU IDs to assign to the user. |
| Job Title | The job title of the user. |
| Street Address | The street address of the user. |
| City | The city of the user. |
| State/Province | The state or province of the user. |
| Postal Code | The postal code of the user. |
| Country | The country of the user. |
| Company Name | The company name of the user. |
| Department | The department of the user. |
| Mobile Phone | The mobile phone number of the user. |
| Business Phones | Business phone numbers, comma-separated. |
| Other Email Addresses | Additional email addresses for the user, comma-separated. |
| Default Attributes | Default attributes for the user in JSON format. |
| Set Manager | Manager email address. |
| Password | Manual password, used only if Auto Generate Password is false. |
| Send to Webhook | Whether to send results to a webhook. |
| Send to Email | Whether to send results to email. |
| Send to PSA | Whether to send results to PSA. |
| Tenant Filter | The tenant ID or domain name of the user. |
| Request Options | Additional request options such as batching, SSL handling, proxy, and timeout settings. |
Output
JSON
id- The unique identifier of the created user.givenName- The first name of the created user.surname- The last name of the created user.displayName- The display name of the created user.userPrincipalName- The full username including domain.usageLocation- The usage location of the user.jobTitle- The job title of the user.streetAddress- The street address of the user.city- The city of the user.state- The state or province of the user.postalCode- The postal code of the user.country- The country of the user.companyName- The company name of the user.department- The department of the user.mobilePhone- The mobile phone number of the user.businessPhones- Business phone numbers of the user.otherMails- Additional email addresses of the user.accountEnabled- Indicates if the user account is enabled.
Dependencies
- An API key credential for authenticating with the CIPP API
Troubleshooting
- Ensure all required fields such as Usage Location, First Name, Last Name, Display Name, Username, Primary Domain, and Tenant Filter are provided to avoid validation errors.
- If Auto Generate Password is false, provide a valid manual password to prevent errors.
- Check network connectivity and API credentials if requests fail or time out.
- If licenses are not assigned correctly, verify the License SKU IDs format and values.
- For SSL issues, consider enabling the option to ignore SSL certificate validation if appropriate.