Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hello Daniel Collister**,**
Good day! Thank you for reaching out to Microsoft community.
Welcome to MS community, I am glad to assist you in this issue. Yes, you are right. In the Microsoft 365 admin center, when you create a new user, it will generate an auto Display name. By default, it will show the FirstName + Lastname.
However, you can just click on the display name to change it as you see fit. On the other hand, if you face difficulties, you can follow the PowerShell commands below which I have tested now and works perfectly.
As you can see, I have created a user where the Display name is "TEST" and the First name (Given Name) is "TEST A"
Go to Windows PowerShell:
Type the command:
- Set-ExecutionPolicy RemoteSigned
- Install-Module -Name AzureAD
- Connect-AzureAD [sign in with your Office 365 admin credentials]
- Get-AzureADUser [To see if it's connected & to get a list of all users]
-
Copy the full single command and paste and run all together:
$user = Get-AzureADUser -ObjectId test_a_@M365x27140211.onmicrosoft.com
$newDisplayName = "$($user.GivenName)"
Set-AzureADUser -ObjectId $user.ObjectId -DisplayName $newDisplayName
Note: Change the green colored object-ID name to your own username that you want to change.
Get-AzureADUser -ObjectId test_a_@M365x27140211.onmicrosoft.com | fl
After running this command, when you go below, you will see that the Display name has been changed exactly the First name (Given name) as you wanted.
If you go to the admin center, you will also see that the user display name has been changed.
I hope this helps. Let me know if you have any further questions or concerns.
And if the provided information is helpful and meets your requirement, you can also give Vote on that in order to make this thread a top content and help any other community users who might be facing a similar scenario to easily find this thread/post.
At this point, I would like to thank you very much for your valuable time and kind cooperation.
Have a great day ahead!
Sincerely
S M Nazmun Nur | Microsoft Community Moderator