An error you might bump into is trying to connect to a TFS service and getting an access denied with the message “TF31003: Either you have not entered the necessary credentials or your user account does not have permission…”.
Delete all saved passwords in your IE browsing history, as described in this MSDN forum thread.
The IE-clearing-tip above often works, when it does not – I have to hit “TEAM – CONNECT TO TFS…” in VS again, that gives me the credentials prompt.
The long story
I have had this problem on several occasions before, but only today had the willpower to look up the solution
A partner created a TFS (Team Foundation Service) instance in the cloud and shared with my live ID (=Microsoft Account). When trying to connect to the TFS instance, I was not asked for credentials but instead just nicely greeted with an error message that I did not have enough permission.
The probable cause
I often log in to Microsoft sites as different users; our company partner ID, a customer’s ID to publish apps etc. Somewhere, somehow, the system caches these different credentials and tries to use one of them when logging in to TFS via Visual Studio.
My first attempt at a solution
I first tried the solution suggested here: to delete accounts from the Credentials Manager. Did not work for me.
The solution that worked
As suggested in this MSDN forum thread, simply clearing the IE stored passwords did the trick! Connecting to TFS from Visual Studio after this prompted me for credentials and boom – I was in.