Ao realizar um sincronismo entre o Team Foundation Server 2013 e o Project Server 2013 usando o comando:
TfsAdmin ProjectServer /MapPWAToCollection /pwa:http://projectserver/PWA /collection:https://servidortfs/tfs/
você pode se deparar com o seguinte erro:
“TF294003: Cannot access the following PWA instance: http://projectserver/PWA. Project Server returned this error: "TF244064: An error occurred while retrieving
event handler: TFSApprovalsUpdatedEventHandler. Project Server returned the following error: "GeneralSecurityAccessDenied".". Verify that the PWA instance exists, and that the necessary permissions have been granted to the service account for the team project collection to access the PWA”
Essa situação ocorre devido ao serviço de execução do Team Foundation Server não possuir permissão no servidor do Project Server.
Console de Gerenciamento do TFS.
Web do Gerenciamento do Project Server (Segurança)
Resolução:
Altere as permissões do serviço na Web de Gerenciamento do seu Project Server.
Abra no seu navegador a página: http://servidorproject/PWA/default.aspx
Verifique as permissões:
Depois retorne a tela anterior e clique em cima do usuário para alterar seus grupos.
Insira o usuário no grupo administradores e salve.
Depois verifique novamente as permissões:
Depois execute novamente o comando e pronto.
Funcionará corretamente.