Tuesday 29 May 2012

Configure Project Server 2010 to work with Exchange Server 2010

Today I stumbled on a problem when trying to configure exchange server 2010 to work with project server 2010 task.
Cannot bind argument to parameter 'Identity' because it is null get-exchangeserver.DistinguishedName

Searching through google i found this http://spblog.oasisskinandbody.co.za/2011/12/add-adpermission-cannot-bind-argument.html#!/2011/12/add-adpermission-cannot-bind-argument.html

This command will configure all exchange server to work with project server 2010
$CAS = get-exchangeserver | where { $_.Name -match "<Specific Server Name/IP>" } 
$CAS = get-exchangeserver | where { $_.ServerRole -match "ClientAccess" }
$User = "<domain>\<user>"
$CAS | foreach-object {Add-ADPermission -Identity $_.DistinguishedName -User (Get-User -Identity $User | select-object).identity -extendedRights ms-Exch-EPI-Impersonation}
I find a good post on how to solve:UserName showing up as DomainName\UserName instead of Full Name in SharePoint 2010

refer to this post
http://sharepointpolice.com/blog/2010/12/06/username-showing-up-as-domainnameusername-instead-of-full-name-in-sharepoint-2010/