Kashif Nizam Qureshi

Integrating Project Server with TFS

Leave a comment

 

download and install it on all app servers

https://www.microsoft.com/en-us/download/details.aspx?id=48258

 

The person who is performing the following tasks should be in following groups

  • Team Foundation Administrators group, required to grant TFS permissions. You must also have access to the Team Foundation Administration Console. Set administrator permissions for Team Foundation Server.
  • Administrator for Project Web App for each instance of Project Web Access or Project Web App (PWA), required to grant Project Server permissions. You must also have access to Project Server through PWA.
  • Administrators security group for the SQL Server databases for Project Server, required to grant permissions to the PWA Reporting and Publishing databases.
  • Farm Administrators group, the administrators group for the Web application that supports Project Server, or the SharePoint Administration group, required to grant SSP permissions. Group membership will depend on the security architecture of your deployment.
  • Administrator on the local computer, required to use stsadm.exe

for hell of a permissions follow this URL, for simplicity i have defined these permission  as follows

 

 

PWA Server:

Register PWA with TFS:

enter following in command prompt
cd %programfiles%\Microsoft Visual Studio 11.0\Common7\IDE

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>TfsAdmin Project
Server /RegisterPWA /pwa:https://pmo.systemsltd.com/PWA-Test/default.aspx /tfs:h
ttp://172.16.201.234:8080/tfs/SystemsLtd/DemoProject/
Error:
TF244060: Cannot access Team Foundation Server: http://172.16.201.234:8080/tfs/systemsltd/demoproject. The error is: "TF400324: Team Foundation services are not
 available from server http://172.16.201.234:8080/tfs/systemsltd/demoproject.
Technical information (for administrator):
 Page not found.".

Registering PWA instance to TFS:

Syntax: TfsAdmin ProjectServer /RegisterPWA /pwa:pwaUrl /tfs:tfsUrl
Example:
TfsAdmin ProjectServer /RegisterPWA /pwa:https://pmo.systemsltd.com/PWA-Test /tfs:http://172.16.201.234:8080/tfs 

Error: TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance. Project Server returned the following error: "Server was unable to process request. ---> The request failed with an empty response.". C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>TfsAdmin ProjectServer /RegisterPWA /pwa:http://ppm-pmo-web/PWA-Test /tfs:http://172.16.201.234: 8080/tfs Registering PWA http://ppm-pmo-web/PWA-Test ........... You have successfully registered PWA http://ppm-pmo-web/PWA-Test. Wait a few minutes before running another provisioning command while background processes complete.   PWA to Collection Mapping:
Syntax: TfsAdmin ProjectServer /MapPWAtoCollection /pwa:pwaUrl /collection:tpcUrl
Example:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>TfsAdmin Project Server /MapPWAtoCollection /pwa:http://ppm-pmo-web/PWA-Test /collection:http://1 72.16.201.234:8080/tfs/SystemsLtd Mapping team project collection http://172.16.201.234:8080/tfs/SystemsLtd to PWA http://ppm-pmo-web/PWA-Test. ............. You have successfully mapped team project collection http://172.16.201.234:8080/ tfs/SystemsLtd to PWA http://ppm-pmo-web/PWA-Test. Mapping default fields:
Syntax: TfsAdmin ProjectServer /UploadFieldMappings /collection:tpcUrl /useDefaultFieldMappings
Example:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>TfsAdmin Project Server /UploadFieldMappings /collection:http://172.16.201.234:8080/tfs/SystemsLt d /useDefaultFieldMappings Uploading field mappings to team project collection http://172.16.201.234:8080/t fs/SystemsLtd. .... You have uploaded field mappings to team project collection http://172.16.201.23 4:8080/tfs/SystemsLtd.
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