To perform bulk operations you must have an appropriate Entra ID administrative role (for example, User administrator or Global administrator). Always test bulk changes in a non-production tenant or with a small sample first.
Quick overview
- Bulk create — Add many new user accounts by uploading a CSV file (useful for onboarding teams).
- Bulk invite — Send B2B invitation emails to external collaborators via a CSV of email addresses.
- Bulk delete — Remove multiple accounts by uploading a CSV of user principal names.
- Download users — Export user data for reporting or archival purposes.
- Prepare the CSV using the appropriate template and include
version:1.0as the first line. - Save as UTF-8 CSV (comma separated).
- In the Azure portal, go to Users > Bulk operations and choose the operation.
- Upload the CSV, validate, submit, and monitor the job results in Bulk operation results.
Operations at a glance
For more details about roles and permissions, see Microsoft’s documentation: Microsoft Entra ID (Azure AD) roles.
Bulk create (add many users)
The bulk create template includes required and optional columns. Required fields typically are:Name [displayName]User name [userPrincipalName]Initial password [passwordProfile]Block sign in (Yes/No) [accountEnabled]
First name [givenName], Last name [surname], Job title, Department, Usage location, etc.
Example CSV (include version:1.0 on the first line):
- Fill the template and save it as a UTF-8 CSV.
- In the Azure portal: Users > Bulk operations > Bulk create.
- Upload the CSV; the portal validates the file and displays any row-level errors.
- Submit the job and monitor progress in Bulk operation results.


Bulk invite (B2B collaboration)
Bulk invite sends invitations to external users. The minimal required field is the email address, but you can also include an invite redirect URL, whether to send the email, and a customized message. Example invite CSV:- If
Send invite (TRUE/FALSE)isTRUE, Entra ID sends the invitation email to the address provided. - If an invited user doesn’t receive the email or cannot access it, you can copy the invitation link from the bulk job details and share it manually.
- Invited users sign in with their work or Microsoft account; they may create one during the acceptance flow if required.

Bulk delete (remove multiple users)
Bulk delete requires only the user principal name for each account you want to remove. Example delete CSV:Bulk delete is destructive. Deleted users are moved to Deleted users and can only be restored during the tenant’s retention window. Double-check your CSV and test on a small sample before deleting production accounts.

Tips and best practices
- Always include
version:1.0as the very first line of your CSV file. - Save CSVs as UTF-8 (comma-delimited) to avoid encoding issues.
- Validate the file in the portal before submitting — the portal provides row-level error details you can download.
- Start with a small sample batch in a test tenant or with a small group to confirm behavior.
- Keep copies of uploaded CSVs for auditing, tracking, and rollback planning.
- Use Bulk operation results to download logs for failed rows; the portal supplies specific error messages per row.
- For large-scale operations, consider scripting via Microsoft Graph API or automation pipelines after you master the portal flow.