Recently I was working with Microsoft Visual Studio 2017 and got the following error with TFS, which says, “You are not authorized to access Team Foundation Service”. The error code was TF30063. This was a surprise for me because it was working earlier. I do not have any clue about this.
This error was occurring when I was going to check in, pending changes in TFS.
“TF30063: You are not authorized to access xyz.visualstudio.com.”
As per my analysis, there could be so many reasons and it could be different for each. We can resolve this issue, using the following ideas
We can try to connect our project again, just click to icon next to Home icon and choose your project and then right click on project and click to Connect. This will be reconnected with project and we will able to access our project.
As we know, TFS is directly connect with IE browser. So, just open your Internet Explorer and logout with TFS account if you logged in.
After successfully logging out, you just need to login again with your TFS account in IE. Before logginin into IE, please check the version of IE browser. It should be above IE 9. Once you have successfully logged in with TFS in IE, go to Visual Studio and check and the error will be gone.
We can also log in with TFS internally with Visual Studio. Go to View Menu, choose Other Windows, and then select Web Browser. You can directly access this browser using “Ctrl + Alt + R”.
It will open Web Browser inside Visual Studio. You just need to log in with your TFS account here. If you are able to login successfully, this issue will be gone.
Sometimes if you are working with multiple TFS account in the same system then TFS caches the credentials for those TFS accounts and throws the error when you are going to login or perform any activities with TFS account. So, for this you can clear the TFS cache and reconnect the TFS.
You can clear TFS’s cache from following location, just change the user name as per your system.
Once cache will delete, probably TFS will ask for credential to reconnect. You need to provide valid credentials and TFS will work.
If all above steps have failed to resolve this issue, I believe you just need to remove TFS server and add again with Visual Studio.
We can manage all TFS server from Team menu in Visual Studio. To manage server, just click to Manage Connections and here you will find all the added connection. Just remove appropriate one and add again.
Therefore, today we have learned how to resolve TF30063 error with TFS.
I hope this post will help you. Please leave your feedback using comments, which helps me to improve myself for the next post. If you have any doubts please ask your doubts or query in the comment section and if you like this post, please share it with your friends. Thanks