Client authentication error when starting Visual Studio 2015 SP3

InteXX picture InteXX · Jul 22, 2016 · Viewed 88.3k times · Source

I just performed a clean install of Visual Studio 2015 SP3, and I'm getting this in the Output window at startup:

We were unable to automatically populate your Visual Studio Team Services accounts.

The following error was encountered: TF400813: Resource not available for anonymous access. Client authentication required.

I'm not using VSTS at all, nor have I configured any connections to it. (I do, however, have a connection configured to an on-premises TFS instance.)

How may I dispense with this error message? I'd like to instruct Visual Studio to never attempt a connection to VSTS at startup.

Answer

Basem Sayej picture Basem Sayej · Jul 22, 2016

In the top right corner of Visual Studio, you will find a colored box with your name or your initials inside. Click the down arrow and then Account Settings.

In the opening window, please click "Sign out" in the upper left part of the window.

After a restart of Visual Studio and signing back in, the error should be gone.