Bulk Update Entra ID Users

In this article, I’ll show you how to bulk update Entra ID users quickly using PowerShell and the Microsoft Admin Center.

Bulk updating Entra ID users is important when you need to make changes to many user accounts at once, like updating job titles, departments, or display names. This saves time and reduces errors compared to editing each user manually. This is especially useful during company reorganizations, onboarding, or when syncing with HR data.

How to Bulk Update Entra ID Users with PowerShell

In this example, I’ll bulk update users Job Title and Display Name.

Step 1: Install Microsoft Graph PowerShell (If not already installed)

Install-Module Microsoft.Graph -Scope CurrentUser

Step 2: Sign into Microsoft Graph.

Connect-MgGraph -Scopes "User.ReadWrite.All"

Step 3: Create a CSV file with the user details you want to update.

  • Use the users UserPrincipalName to identity the accounts you want to update.

To view all editable properties, see the Microsoft documentation: Update-MgUser (Microsoft.Graph.Users) | Microsoft Learn

CSV Example

csv file

Step 4: Run the below PowerShell script to update the users (update the script to the properties you want to update and the path you saved the CSV file to)

$users = Import-Csv "C:\Path\To\users.csv"

foreach ($user in $users) {
    Update-MgUser -UserId $user.UserPrincipalName -DisplayName $user.DisplayName -JobTitle $user.JobTitle
    Write-Host "Updated user:" $user.UserPrincipalName
}
update-mguser example

Bulk Update Entra ID Users through Admin Center

Step 1: Log into the Microsoft 365 Admin Center

Step 2: On the left side under “Admin Centers” select Identity.

click on identity

Step 3: In the left pane, select “Users” > “All users”

Step 4: Select the users you want to bulk edit, then select Edit at the top of the page.

Then choose Edit properties.

click edit properties

Step 5: Select the properties you want to edit. In my example I am updating the City, Job Title, and Department. Click save at the bottom once done.

change user property value

If you need to update a property that isn’t included in the 12 fields supported for bulk updates, you’ll need to edit that user individually.

It’s important to know that the selected property will be set to the same value for all users. You can’t assign different values to each user using this method.

Verify Updated Users

To verify the update, you can use the get-mguser cmdlet to display the value of the properties.

In order to view if a specific user updated, run this command and use the attributes you updated.

Get-MgUser -UserId "[email protected]" -Select "DisplayName,Department,State,JobTitle" |
    Select-Object DisplayName, Department, State, JobTitle

To view all users updated, run this.

Get-MgUser -All -Select "DisplayName,Department,State,JobTitle" |
    Select-Object DisplayName, Department, State, JobTitle