How to add Employee ID for a bulk of user in Azure AD

Anonymous
2026-03-11T07:34:46.75+00:00

We are trying to create a microsoft users using a bulk create operation and we would like to add a Employee ID as part of csv but unable to map the field.

We are using the header as : EmployeeId [employeeId] but this is not working

Can you please suggest the correct header for the same.


Moved from Microsoft 365 and Office | Other

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Newest
  1. AI answer

    2026-03-11T07:34:59.59+00:00

    Employee ID is not one of the default columns in the bulk user creation CSV template for Microsoft Entra ID, so it cannot be added just by inventing a header such as EmployeeId [employeeId].

    For bulk create to work, the CSV must use exactly the columns provided in the downloaded template. Only the documented columns are processed; any additional or custom columns (including an employeeId column) are ignored.

    To include Employee ID for users created in bulk:

    1. First perform the bulk user creation using the standard template downloaded from Entra ID > Users > Bulk create, filling in only the supported columns (for example, Name, User principal name, Initial password, Block sign in, and any other optional columns present in that template).
    2. After the users are created, update the employeeId attribute using another method that supports that property, such as Microsoft Graph PowerShell (Update-MgUser with the EmployeeId property) or another provisioning mechanism that can write to employeeId.

    The key point is that the bulk create CSV cannot be extended with a working employeeId column; the service will ignore unsupported headers.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.