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 user’s Display name “tsinfouser” to “tsinfonewuser”.
Update-AzADUser -ObjectId 5e013a07-e22a-4d46-a6be-ca68b893b6df -DisplayName tsinfonewuserAfter 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. I can see the Display name has been changed successfully. Check out the screenshot below.

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 !!!

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
