Add the service account for Team Foundation Server to the Farm Administrators group
You must add the service account for Team Foundation Server to the Farm Administrators group on the SharePoint administration site. If you are using Network Service for the TFS service account and SharePoint is not running on the same server as TFS, you must add the machine name of the server that is running TFS instead of Network Service. The machine name is the server name followed by the $ symbol. For example, Domain\ServerName$.
For more information about service accounts, see Accounts required for installation of Team Foundation Server.
To follow this procedure, you must be a member of the Windows Administrators security group on the server that is running SharePoint.
To add the service account for Team Foundation Server to the Farm Administrators group
In a web browser, open the SharePoint Central Administration site.
Under Security, choose Manage the farm administrators group.
In the Users/Groups box, enter the name of the service account for TFS and choose Share.
If you have to manually add a server name followed by the $ symbol, the search utility might not find it, but you will still be able to choose Share.