Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to fix Error TF30063: You are not authorized to access VS2017

I changed my password for my TFS. But when I try to reconnect I receive the TF30063 unauthorized error.

There are many issues like this and I tried everything I could find from this solution and other forums

  • Solve this issue by using the VS browser
  • The right click on the connection
  • The windows 10 manage user accounts edit and even the remove
  • Deleted every VS cache file from appdata
  • Deleted the whole connection in VS & tried to readd a new one
  • Deleted all my Internet explorer cookies, passwords cache etc.

None of them work... Can't figure out what the issue is.

PS: it works within the browser.

like image 731
Ferryzijl Avatar asked Dec 11 '17 09:12

Ferryzijl


People also ask

How do I fix error tf30063?

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.

How do I clear the TFS cache in Windows 10?

To dump this cache all you need to do is go to control panel > User Accounts > Manage Your Network Passwords select the Team foundation Server and choose remove – viola!

How do I connect TFS 2012 Visual Studio with different credentials?

Click on two credentials modify link, click the link Remove from vault to remove stored TFS credentials. Now, When you login into Visual Studio you will be asked to give credentials to connect TFS. Note: Don't forgot to uncheck the option Remember my credentials to force to ask credentials for every TFS connections.


1 Answers

It should be a Visual Studio 2017 credential cached token issue. You could try below ways to clear cache:

  1. Close all Visual Studio instances.

  2. Delete %LOCALAPPDATA%.IdentityService.

There are some identity related caching going on in there, deleting the folder will force the identity system to rebuild its cache.

  • Also Clear TFS related caches %LOCALAPPDATA%\Microsoft\Team Foundation\x.0\Cache

  • Run Visual Studio as another user:

    cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE

    runas /netonly /user:<account> devenv.exe

    Enter the user password, then Team Explorer > Manage Connections

If the issue still exists, also take a look at this blog for more ways.

like image 94
PatrickLu-MSFT Avatar answered Oct 02 '22 19:10

PatrickLu-MSFT