It seems that your local credentials are mixed after reinstalled the computer, please clear the stored TFS credentials in Visual Studio 2017 and Git credentials by following below steps.
- Close all Visual Studio instances, delete
%LOCALAPPDATA%.IdentityService
.
- Clear TFS caches
%LOCALAPPDATA%MicrosoftTeam Foundation7.0Cache
- Clear all the browser caches especially for the stored password
- Look in the Windows Credential manager and remove the TFS related credentials and Git credentials there
- Restart Visual Studio > Team Explorer > Manage Connections to check if the
Enter credential dialog
popup. Just try this several times or restart VS to popup it again.
- Enter the user password, then Team Explorer > Manage Connections to connect to target project. See this thread for more details.
In addition, you could follow this doc: Connect from Visual Studio or Team Explorer to get more guidance.
Update
If your access level is Stakeholder in this organization, you cannot contribute to Azure Repositories. And members of Project Collection Administrators group can change access level.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…