SharePoint User Display Name Incorrect
Scenario:
This scenario occurs when SharePoint pulls the display name value from active directory. At some point later, a change was made to the display name. The change in display name was not pushed down to SharePoint.
Find the SharePoint User Account Identity
- Go to a site collection/site where the incorrect display name is used.
- Go to Site -> Site Settings
- Under "Users and Permissions", select "People and Groups"
- Locate a group where the user is a member
- Click on the name of the user to find the user's information
- You will see the account name to use in the script to change the SharePoint user display name
Change SharePoint User Display Name
Run powershell as an administrator, and call the SharePoint snapin if you are not using the management shell. Use "Set-SPUser". Specify the account (identity), the new display name, and the site.
Set-SPUser -Identity 'account_name' -DisplayName ' -DisplayName 'New_Display_Name' -Web https://domain/sites/name
Note: The prefix used in your environment may be different e.g.
- Claims based authentication prefix i:0#.w|
- Forms based authentication prefix i:0#.f|
Comments
Post a Comment