Visual Studio Team Services (VSTS) is one of my favorite tool for source code management. It’s not just limited to that. It has appeal to everyone. From a large team to a small team to even a single developer!
If you’re using VSTS with Visual Studio then, you need not have to worry about this setup. VSTS is beautifully integrated with it. Visual Studio, directly, lets you sign-in to your VSTS or TFS account. However, if we have to use it outside Visual Studio, for ex, Visual Studio Code then, this authentication needs to be done manually!
For any application, which do not support Microsoft account or Azure AD authentication, VSTS needs to be authenticated by Personal Access Tokens (PAT).