VSTS | TFS 2018 | TFS 2017 | TFS 2015
Error message TF237002 or TF400593 appears when a Team Foundation add-in has been disabled in an Office client, or Office Primary Interop Assemblies are not installed or were damaged after they were installed.
The Team menu or Team ribbon appears when you install Visual Studio. You can install Visual Studio Community for free from the Visual Studio download page.
If the Team menu or Team ribbon doesn't appear in your Office client, try re-enabling the Team Foundation add-in. If you continue to have problems, verify that the .NET Programmability Support option is configured correctly. As a final solution, try repairing your Office client.
To re-enable the Team Foundation Add-in in an Office client
Usually you re-enable an add-in by choosing COM add-ins. However, if you don't see it there, choose the Disabled Items option.
To add a missing component in an Office client
Verify or configure the .NET Programmability Support option to Run from My Computer.
Locate the .NET Programmability Support option under Microsoft Excel or other client in the Office suite.