Edit

Share via


Bulk operations in Microsoft Entra ID (Preview)

The new bulk operations experience in Microsoft Entra ID provides enhanced capabilities for managing Groups, Devices, Administrative Unit and Role assignments. This service enables bulk actions including create, update, and delete operations. The improved service delivers better performance, reduces timeouts, and removes scaling limitations for large tenants.

Note

The new bulk operations service currently only supports Groups, Devices, Users export, Administrative Unit and Role assignment. Support for additional entities like Enterprise applications will be added in a future update. Localization for templates is partially supported(exported csv will not have localization template but import and remove is supported). Additionally, guest users cannot initiate bulk operations.

For information about limitations and to learn more about the previous Bulk Operations experience, see Bulk operations service limitations.

Bulk download groups

To download all groups in your organization:

  1. Sign in to the Microsoft Entra admin center and in the left-hand navigation pane, select the Groups tab and then All groups.

    Screenshot of the Microsoft Entra admin center Groups blade showing the All groups list with column headers and actions.

  2. Select Download groups.

    Screenshot of the Groups page with the Download groups button highlighted in the toolbar.

  3. Enter a filename and select Start bulk operation.

    Screenshot of the Download groups dialog prompting for a filename before starting the bulk operation.

  4. Select the Click here to view the status of each operation link to navigate to the Bulk operations blade.

    Screenshot of a success notification confirming the bulk groups download was submitted with a link to view status.

  5. Select the filename to download the CSV file containing all groups with the specified columns.

Download filtered groups

To download a filtered subset of groups:

  1. Sign in to the Microsoft Entra admin center and in the left-hand navigation pane, select the Groups tab.

  2. Select Manage filters to edit the column filters.

    Screenshot of the Manage filters panel on the Groups page with filters applied and the Download groups action available.

  3. Select Download groups.

  4. Follow steps 3-5 from Bulk download groups.

Bulk download group members

To download all members of a specific group:

  1. Sign in to the Microsoft Entra admin center and in the left-hand navigation pane, select the Groups tab.

  2. Select a group from the list and navigate to the Members tab.

    Screenshot of a selected group’s Members tab listing users and service principals.

  3. Select Bulk operations > Download members.

    Screenshot of the Bulk operations menu on the Members tab with Download members selected.

  4. Enter a filename and select Start download.

  5. Follow the download process as described in Bulk download groups.

Bulk import group members in Microsoft Entra ID

To add multiple members to a group:

  1. Sign in to the Microsoft Entra admin center and in the left-hand navigation pane, select the Groups tab.

  2. Select a group from the list and navigate to the Members tab.

  3. Select Bulk operations > Import members.

    Screenshot of the Bulk operations menu on the Members tab with Import members selected.

  4. Download the csv template (optional). Rename the ID column name to ObjectId and delete the remainder of columns. Add Object IDs for the members you want to import. Upload your csv file with only the ObjectId column. Note: You can add valid or invalid Object IDs.

    Screenshot of the CSV template for importing members showing the ObjectId column for pasting member IDs.

  5. Upload the completed CSV file and select Submit.

  6. Monitor the notification for job completion. Select the Success! link to view the operation status.

Important

If you add invalid Object IDs in the uploaded csv file, the bulk operation status shows Failed with reason NotAllRowsSuccessfullyProcessed. You can select on the filename to download a detailed report showing the status of each object ID.

Bulk remove group members

To remove multiple members from a group:

  1. Follow steps 1-2 from Bulk download group members.

  2. Select Bulk operations > Remove members.

    Screenshot of the Bulk operations menu on the Members tab with Remove members selected.

  3. Download the csv template (optional). Rename the ID column name to ObjectId and delete the remainder of columns. Add Object IDs for the members you want to import. Upload your csv file with only the ObjectId column. Note: You can add valid or invalid Object IDs.

  4. Upload the completed CSV file and select Submit.

    Screenshot of the sample CSV for removing members containing ObjectId values to be processed.

  5. Monitor the notification for job completion. Select the Success! link to view the operation status.

  6. If the operation shows Failed status with reason NotAllRowsSuccessfullyProcessed, select the filename to download a detailed report showing the status of each object ID.

  7. Verify that the specified members were removed from the group.

Delete bulk jobs

To delete completed or failed bulk operations:

  1. Navigate to the Bulk Operations (Preview) page.

    Screenshot of the Bulk operations page listing recent bulk jobs with status, type, and timestamp columns.

  2. Select the bulk job you want to delete.

  3. Select Delete.

    Screenshot of a selected bulk job on the Bulk operations page with the Delete button visible.

  4. Confirm the deletion. The deleted job is removed from the list.

    Screenshot of a confirmation notification indicating the bulk job was deleted successfully.

Devices scenario steps

  1. Go to the All devices blade.

    Screenshot of the All devices blade in Microsoft Entra admin center showing the devices list.

  2. Select Download devices.

    Screenshot of the All devices page with Bulk operations open and the Download devices option selected.

  3. Enter a filename that matches your naming convention and select Start download. Screenshot of a success notification after starting the Download devices job.

  4. Verify the notification message and, if the job was submitted successfully, select the Success! or File is ready! Click here to download link.

    Screenshot of the Bulk operations page showing a completed Download devices job with a File is ready link to download the CSV.

  5. Select the filename for the bulk job you created to download the CSV file. Verify the CSV contains all devices with the columns you selected when the bulk job was created.

You can bulk export users following the steps in Download a list of users in Microsoft Entra admin center.

Add users to an administrative unit in a bulk operation

  1. Sign in to the Microsoft Entra admin center as at least a Privileged Role Administrator.

  2. Browse to Entra ID > Roles & admins > Admin units.

  3. Select the administrative unit you want to add users to.

  4. Select Users > Bulk operations > Bulk add members.

    Screenshot of the Users page for assigning users to an administrative unit as a bulk operation.

  5. In the Bulk add members pane, download the comma-separated values (CSV) template. Update and format the CSV as follows:

    Entries: Object Ids or UPN of members to add to the Admin Unit. Rename the file if desired, then select and upload the edited file.

  6. Click Submit after successful upload.

    Screenshot of the bulk add members submission screen.

  7. Verify the notification message and ensure the job was submitted successfully.

    Screenshot of success notification for bulk add members operation.

  8. Click on 'Success' to navigate to Bulk Jobs List to view bulk job status and find the submitted job (could do this by sort by creation time), click to download.

    Screenshot of the bulk jobs list showing the completed operation.

    Screenshot of downloading the bulk operation results.

Note

Verify if the correct object ids were added to the admin unit successfully. Refresh the UX if needed to see the updated state; it takes some time to reflect especially when adding groups to Admin Unit.

If the input includes an invalid Object ID or one already assigned to this admin unit, the bulk operation status will show "Failed" instead of "Success" due to not all rows successfully processed. In the results csv, you will see the failure reason as 'The request was malformed or contains invalid parameters'. This is most likely due to the object being already assigned to this admin unit pre-operation. Other valid rows should still be processed successfully, please verify accordingly.

Remove users from an administrative unit in a bulk operation

  1. Sign in to the Microsoft Entra admin center as at least a Privileged Role Administrator.

  2. Browse to Entra ID > Roles & admins > Admin units.

  3. Select the administrative unit that you want to remove users from.

  4. Select Users > Bulk operations > Bulk remove members.

    Screenshot of Users page that shows the Bulk remove members link.

  5. In the Bulk remove members pane, download the comma-separated values (CSV) template.

  6. Do not change the first row of the template, and for each row fill in objectID or UPN of the users/devices/groups that you want to remove.

  7. Save your changes and upload the CSV file.

  8. Select Submit.

Download Role Assignment

To download all active role assignments across all roles, including built-in and custom roles, follow these steps.

  1. On the Roles and administrators page, select All roles.

  2. Select the Download assignments.

  3. Click on 'Success' to navigate to Bulk Jobs List to view bulk job status and find the submitted job (could do this by sort by creation time), click to download.

    Screenshot of bulk jobs list for role assignment download.

    Screenshot of downloading role assignment results.

  4. Sample output:

    Screenshot of sample role assignment CSV output.

Note

Filters and sorting are not supported for this bulk job type; this downloads all role assignments.