In this Azure PowerShell article, we will discuss the syntax and usage of the Update-AzADUser PowerShell command with examples.
Table of Contents
Update-AzADUser
This PowerShell command can help you to update the entities in the Azure Active Directory users.
Syntax
Below is the syntax of the Update-AzADUser PowerShell command.
Update-AzADUser
-UPNOrObjectId <String>
Let’s discuss an example of how to use the Update-AzADUser PowerShell command.
Example
You can execute the below PowerShell command that will update the Display name of the specified Active Directory user. In this case, it will update the Display name of the user “tsinfouser” to “tsinfonewuser”.
Update-AzADUser -ObjectId 5e013a07-e22a-4d46-a6be-ca68b893b6df -DisplayName tsinfonewuser
After executing the above PowerShell command I got the below expected output.

To cross-check, the Display name of the Azure Active Directory user, I have executed the Get-AzADUser PowerShell command and can able to see the Display name has been changed successfully. Check out the below screenshot.

Final Thoughts
In this Azure PowerShell article, we discussed the syntax and usage of the Update-AzADUser PowerShell command with examples. Thanks for reading this article !!!