Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TF30063:You are not authorized to access dev.azure.com but I can connect

I am using Azure Devops and VS2017 15.9.7. I am logged into Devops and can sync. When I open my project I get a message

"TF30063": You are not authorized to access dev.azure.com/myproject 

I have tried going into credentials manager and deleting all the credentials for the devops organisation.

I have looked at this question and tried logging out via the browser within VS

like image 983
Kirsten Avatar asked Mar 23 '19 19:03

Kirsten


People also ask

How do I fix error tf30063?

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 connect to a TFS server?

Select the Manage Connections button in Team Explorer to open the Connect page. Choose Connect to Team Project to select a different organization, TFS, or project to connect to. Select the projects to work on. If it's your first time connecting, add TFS to the list of recognized servers.


2 Answers

TF30063:You are not authorized to access dev.azure.com but I can connect

I have encountered the same issue. (I need to switch back and forth between work account and test account). Of course, there could be so many reasons and it could be different for each (cached another account, or modified the password).

To resolve this issue I have two methods/steps.


Step 1 is to clear the credential from credential manager:

Go to Control Panel (with small icon view)-->User Accounts-->Manage your credentials (on the left column)-->Select Windows Credentials-->Scroll down to the Generic Credentials section and look for your TFS server connection.


Step 2 is to click on the operation that Connects to the Team Projects which is the button/plug icon in the Team Explorer tab. Then to also right click the project you are getting this issue on and select Connect:

enter image description here

I also have tried other methods but not work for me, if possible, you can check if it is useful to you:

How To Fix TF30063 Error

Error TF30063: You are not authorized to access

like image 145
Leo Liu-MSFT Avatar answered Sep 23 '22 13:09

Leo Liu-MSFT


The comment by Kirsten Greed in the accepted solution resolved the issue for me. Reproduced here:

The problem was that I was opening the project using the Recent Project section of the start page. I closed VS, re-opened and then opened the project via "connect: in Team Explorer. Then exited. Now it seems to open ok either way.

like image 40
twildeman Avatar answered Sep 21 '22 13:09

twildeman