Error TF30063: You are not authorized to access ... \DefaultCollection
Solution 1:
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:
- Clicking on the "Connect to Team Projects button" (The plug next to the home button in the Team Explorer tab)
- Right click the project you are getting this issue on.
- Click Connect.
I guess the "Remember me" cookie timed out but gave me a generic response for trying to push or pull any code.
Solution 2:
I solved this issue by using the browser from within Visual Studio, View->Other Windows->Web Browser; Ctrl+Alt+R
(or * Ctrl+W, W
* in VS versions before VS2010) to navigate to the TFS page and log out of the wrong account and log back in.
For me, the issue was caused by using another live-id to unlock a windows phone for development. Somehow the credentials got cached, it seems.