logo
search
Others

Fix Azure AD Failed to Insert User and Directory Object Quota Errors

Maira MehtabMaira Mehtab Sep 20, 2026 868 views

Question details

The user is unable to bulk upload multiple users via a CSV file because the tenant has reached its directory object limit, resulting in a failed insertion error.

Product
Microsoft Azure Active Directory (Entra ID)
Device & OS
not provided
Scenario
Uploading a bulk user CSV file to create multiple new accounts in the Azure portal.
Observed behavior
The CSV upload process returns a 'Failed to insert user' error for remaining users because the tenant's Azure AD or Microsoft Entra directory-object quota has been exceeded.
Before you start

Before proceeding, ensure you have global administrator or privileged role administrator credentials for your Microsoft Entra ID tenant to access support and manage deleted users.

Solution 1Recommended

Open a Technical Support Request to Increase Quota

The most direct way to resolve a hard limit on directory objects is to contact Microsoft Azure support to request a quota increase for your tenant.

By default, Azure AD (Microsoft Entra ID) enforces a strict quota on the total number of directory objects (such as users, groups, and applications) a tenant can hold. If you have reached this limit, you must submit a formal request to raise it.

1
Log into the Azure Portal

Sign in to the Azure portal using an account with administrator permissions for your directory.

2
Navigate to Help and Support

Use the search bar or the left-hand menu to find and select 'Help + support'.

3
Create a Support Request

Click on 'Create a support request'. Under the issue type, select 'Technical' and choose 'Microsoft Entra Directories and domains' as the service.

4
Submit the Quota Increase Request

Explain that you are encountering 'Failed to insert user' errors due to the directory-object quota being exceeded during a CSV upload. Submit the ticket and wait for Azure support to increase your limit.

Verification Requirement: Keep in mind that increasing your quota beyond certain thresholds may require you to verify at least one custom domain in your Microsoft Entra ID tenant.
Free Microsoft Office alternative

Prepare Your Azure Bulk Upload CSVs with WPS Office

While directory quotas are managed in Azure, preparing error-free bulk upload CSV files requires a reliable spreadsheet application. WPS Office is a lightweight, fully compatible, and free alternative to Microsoft Office that makes editing user data templates effortless.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your computer.
  2. 2. Open Your Bulk Upload Template: Launch WPS Spreadsheet and open the CSV template provided by Azure AD.
  3. 3. Edit and Save: Fill in the user data carefully to avoid formatting errors, then save the file in standard CSV format before uploading it to the Azure portal.
Fully compatible with Microsoft Excel file formats, including .xlsx, .xls, and .csv.Clean, familiar interface that requires zero learning curve for Excel users.Lightweight installation that consumes minimal system memory and storage.Free to use for organizing, editing, and saving your Azure AD bulk upload templates.
microsoft office alternative - wps office

Frequently Asked Questions

What is the default directory object quota in Azure AD?

By default, an unverified Microsoft Entra ID (Azure AD) tenant has a limit of 50,000 directory objects. Once you verify at least one custom domain, this limit is automatically increased to 300,000 objects.

Why do I still get quota errors after deleting several users?

When you delete a user or group in Azure AD, it enters a 'soft-deleted' state for 30 days. Soft-deleted objects still count toward your total directory object quota. You must permanently delete them from the 'Deleted users' menu to immediately free up space.

Can I use WPS Office to edit the Azure AD bulk user upload CSV?

Yes, WPS Spreadsheet is fully compatible with CSV files. You can safely open, edit, and save the Azure AD bulk upload template in WPS Office without worrying about formatting corruption.