Change the Display Name for Windows Live Users in SharePoint 2010 Claims Mode

When using Windows Live Claims based authentication in SharePoint 2010, the user display name comes across as the live Id, which is a bit ugly. You could set up a form / workflow to automatically prompt the user to change it, but for a quick demo, the following powershell works:

$user = get-spuser –web http://extranet.contoso.com | where-object {$_.userlogin –like “*partofthewindowsliveidyou’relookingfor*“}
set-spuser $user.userlogin –displayname ‘new display name’ –web http://extranet.contoso.com

 

Full details on setting up claims authentication using Windows Live ID can be found here:

http://www.wictorwilen.se/Post/Visual-guide-to-Azure-Access-Controls-Services-authentication-with-SharePoint-2010-part-1.aspx

Just be sure to see part 2 here:

http://www.wictorwilen.se/Post/Visual-guide-to-Azure-Access-Control-Services-authentication-with-SharePoint-2010-part-2-common-problems.aspx

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s