---
updatedAt: 2026-03-03T15:29:18.000Z
---

# Performing Bulk Actions in Axis IdP

You can perform the following actions in bulk by using a dedicated CSV (comma-separated values) file:

* **Add/ Edit users**- instead of adding individual users, use a CSV file to create and add a number of users to Axis IdP or upload a file with changes.
* **Export users**- export a list of current users in Axis IdP to a CSV file to edit their information or delete them from Axis IdP.
* **Delete users**- instead of deleting users one by one, create a CSV file with the users you want to delete from Axis IdP.

## Adding Users in Bulk

To accelerate the onboarding process, users can be created and imported in bulk using a CSV file.

**To create and import users in bulk:**

### Step 1: Download and modify CSV file

1. Go to **Settings-> Axis IdP-> Users**.
2. Click **Bulk Actions-> Import users from CSV**

![](https://files.readme.io/22900ef-import_users.png "import users.png")

The **Import and Edit Users in Bulk** dialog appears.

![](https://files.readme.io/3b95b71-import_and_edit.png "import and edit.png")

1. Click **Download CSV Template**.
2. Open the downloaded CSV file.
3. Delete the explanation and example rows as shown in the following screenshot:

![](https://files.readme.io/9e36808-import_template.png "import template.png")

4. Enter the information as shown in the following table.

> 📘 Note
>
> Headers marked with an asterisk (\*) are required for importing the users.

[block:parameters]
{
  "data": {
    "h-0": "Field",
    "h-1": "Description",
    "h-2": "Example",
    "0-0": "Email\\*",
    "0-1": "Enter an email address for the user",
    "0-2": "[bjones@acme.com](mailto:bjones@acme.com)",
    "1-0": "First Name\\*",
    "1-1": "Enter the user's first name",
    "1-2": "Bob",
    "2-0": "Last Name\\*",
    "2-1": "Enter the user's last name",
    "2-2": "Jones",
    "3-0": "Username\\*",
    "3-1": "Enter a username for the user",
    "3-2": "BJones",
    "4-0": "Password (Optional)",
    "4-1": "Enter a password for the user, You can leave this field empty.",
    "4-2": "Password1",
    "5-0": "Groups\\*",
    "5-1": "Enter the names of the groups the user belongs to separated by a semicolon \";\"  \n**Note:** If left empty, the user will only be added to the general groups determined in the Groups section of the** Import and Edit Users in Bulk** dialog (see below). If the new file includes changes to existing users, an empty field will remove the user from any groups he was a member of.  ",
    "5-2": "Admins; Sales"
  },
  "cols": 3,
  "rows": 6,
  "align": [
    "left",
    "left",
    "left"
  ]
}
[/block]

### Step 2: Upload the CSV file to Axis Security

**To upload the CSV file:**

1. In the Management Console, go to **Settings > Axis IdP-> Users**
2. Click **Bulk Actions-> Import users from CSV**

![](https://files.readme.io/85b15c1-import_users.png "import users.png")

The **Import and Edit Users in Bulk** dialog appears.

![](https://files.readme.io/5432ad4-import_and_edit.png "import and edit.png")

3. Click **Upload CSV File** and attach the modified CSV file.

#### Group Information (Optional)

* Click the drop-down menu to select a group to assign all the users to.
* Start typing to create a new group for the users.

> 📘 Notes
>
> 1. This action will take effect on all of the users created using the CSV file.
> 2. If left empty, the users will be added to a default group with a name similar to the following: "users\_03-01-2022\_16.46.30\_(utc)"

#### Temporary Users (Optional)

* Check the Make these users temporary option to delete the users after a certain time in days, weeks, or months.

### Step 3: Finalize import

1. Click **Submit.**
2. Click **Apply changes-> Commit changes.**

## Exporting User Data

Export user data from Axis IdP to a CSV file.\
**To export user data**:

1. In the Management Console, go to **Settings > Axis IdP-> Users**
2. Click **Bulk Actions-> Export Users to CSV**

![](https://files.readme.io/2de67f5-Export_users.png "Export users.png")

The CSV file with Axis IdP users is downloaded to your computer.

## Deleting Users in Bulk

To delete users in bulk, create and upload a CSV file with the users' information.

> 📘 Note
>
> You can use the export users option (see above) to create a CSV file with all the users in Axis IdP.

**To delete users in bulk:**\
\###Step 1: Download and modify CSV file

1. In the Management Console, go to **Settings > Axis IdP-> Users**
2. Click **Bulk Actions-> Delete Users**

![](https://files.readme.io/9dcb077-Delete_users.png "Delete users.png")

The Delete Users dialog appears.

![](https://files.readme.io/2026b4d-Delete_users_dialog.png "Delete users dialog.png")

1. Click **Download CSV Template** or use your own CSV file.
2. Open the downloaded CSV file.
3. Delete the example row as shown in the following screenshot:

![](https://files.readme.io/25ae4ac-bulk_delete_template.png "bulk delete template.png")

4. Enter the information as shown in the following table.

> 📘 Note
>
> Headers marked with an asterisk (\*) are required for deleting the users.

| Field               | Description                                                                    | Example           |
| :------------------ | :----------------------------------------------------------------------------- | :---------------- |
| Email\*             | Enter an email address for the user                                            | <bjones@acme.com> |
| First Name          | Enter the user's first name                                                    | Bob               |
| Last Name           | Enter the user's last name                                                     | Jones             |
| Username\*          | Enter a username for the user                                                  | BJones            |
| Password (Optional) | Enter a password for the user, You can leave this field empty                  | Password1         |
| Groups              | Enter the names of the groups the user belongs to separated by a semicolon ";" | Admins; Sales     |

### Step 2: Upload the CSV file to Axis Security

**To upload the CSV file:**

1. In the Management Console, go to **Settings > Axis IdP-> Users**
2. Click **Bulk Actions-> Delete Users**

![](https://files.readme.io/0a1e10d-Delete_users.png "Delete users.png")

The **Delete Users** dialog appears.

![](https://files.readme.io/deebdad-Delete_users_dialog.png "Delete users dialog.png")

3. Click **Upload CSV File** and attach the complete CSV file.

### Step 3: Finalize deletion

1. Click **Submit**.
2. Click **Apply changes-> Commit changes.**

## Troubleshooting Bulk Actions

The following table describes errors in bulk actions and how to manage them.

[block:parameters]
{
  "data": {
    "h-0": "Error",
    "h-1": "Solution",
    "0-0": "Invalid CSV",
    "0-1": "Make sure that all the headers (Email, First Name, Last Name, Username, Password, Groups) appear in the file.",
    "1-0": "The file exceeds the maximum size of 1MB",
    "1-1": "Reduce CSV file size or divide it into two or more separate files.",
    "2-0": "The CSV file is empty",
    "2-1": "Make sure that all the required fields are populated",
    "3-0": "The file exceeds the maximum number of 2000 rows",
    "3-1": "Divide the file into two or more files and upload each one separately",
    "4-0": "Error: No user was found with the email “<email>” and the username “<username>”",
    "4-1": "Make sure the spelling is correct",
    "5-0": "Error: Missing Information - Email field can’t be empty",
    "5-1": "Make sure the Email field is populated for all users",
    "6-0": "Error: Missing Information - Username field can’t be empty",
    "6-1": "Make sure the Username field is populated for all users",
    "7-0": "Error: Invalid username “<username>” - Username must be at least 3 characters",
    "7-1": "Make sure Usernames contain at least 3 characters",
    "8-0": "Error: A user with the same username “<username>“ already exists in the CSV - First appearance will be used",
    "8-1": "Change the Username and upload the file.",
    "9-0": "Error: A user with the same username already exists with a different email. Email can only be changed manually",
    "9-1": "Change the Email and upload the file.",
    "10-0": "Error: Invalid email “<email>”",
    "10-1": "Make sure Emails are valid and adhere to the structure \"[address@company.com](mailto:address@company.com)\"",
    "11-0": "Error: A user with the same email already exists with a different username. Username can only be changed manually",
    "11-1": "Change the Username and upload the file",
    "12-0": "Error: A user with the same email “<email>” already exists in the CSV - First appearance will be used",
    "12-1": "Change the Email and upload the file",
    "13-0": "Error: Password must be at least 8 characters long, use both upper case and lower case letters, and must include one or more digits",
    "13-1": "Change the password to adhere to requirements"
  },
  "cols": 2,
  "rows": 14,
  "align": [
    "left",
    "left"
  ]
}
[/block]