Skip to content

Bulk Update Entra ID Users

In this guide, you will learn 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.

Bulk Update Entra ID Users with PowerShell

Section titled “Bulk Update Entra ID Users with PowerShell”

In this example, the users job title and display name will be updated.

  1. Install Microsoft Graph PowerShell (If not already installed)

    Terminal window
    Install-Module Microsoft.Graph -Scope CurrentUser
  2. Sign into Microsoft Graph.

    Terminal window
    Connect-MgGraph -Scopes "User.ReadWrite.All"
  3. Create a CSV file with the user details you want to update.

CSV Example

  1. 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)

    Terminal window
    $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
    }

Bulk Update Entra ID Users through Admin Center

Section titled “Bulk Update Entra ID Users through Admin Center”
  1. Log into the Microsoft 365 Admin Center

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