Error TF30063: You are not authorized to access … \DefaultCollection

azure-devopstfsvisual studio 2012

I'm using TFS Preview (Team Foundation Service) with one of my projects with Visual Studio 2012. I'm also using an on-premises TFS server with most of my projects. When I use my on-premises TFS after using TFS preview and go back to using TFS preview, I get this error:

TF30063: You are not authorized to access MyProject\DefaultCollection.

If I go to TeamDisconnect TFS and then connect to TFS preview again, I'm able to see a "Loading identifiers" loading screen coming up, but in the end I don't get to enter my credentials to TFS preview (my Microsoft account) and as a result, the TF30063 error still occurs.

I suspect this has something to do with my Microsoft account (i.e. Live ID). I'm logged in to Windows with the same Microsoft account that I use at TFS preview. I have logged in to other sites (Windows Development Center, MSDN, etc.) with other Microsoft accounts, but I verified that if I log out of these services and re-login with the correct Microsoft account, I still get the TF30063 error when I try to log in to TFS preview from Visual Studio.

Best Answer

When I came accross this issue none of the provided answers solved this problem or if it did I didn't like recreating the project. The way I ended up solving the issue:

enter image description here

  1. Clicking on the "Connect to Team Projects button" (The plug next to the home button in the Team Explorer tab)
  2. Right click the project you are getting this issue on.
  3. Click Connect.

I guess the "Remember me" cookie timed out but gave me a generic response for trying to push or pull any code.

Related Topic