To create a Personal Access Token on Visual Studio Online you login to the portal on <your-site>.visualstudio.com.
❶ Open the user profile settings by clicking in My profile.
❷ Select the Security settings tab.
❸ Select Personal access tokens.
❹ Enter a description for your token (e.g. Share with VSO) in the Description field.
❺ Select for how long time your token should be valid. Choose a period in the Expires In drop down list. Please remember that you will have to generate a new token when it is expired.
❻ Select the account that matches your Visual Studio Online subscription.
❼ Under Authorized Scopes select Selected scopes.
❽ Check Work items (read and write) to allow access to create work item.
❾ Click Create Token to create the token.
When the token is created copy it to the clipboard and leave the page open until you have configured Share with VSO.
Start Share with VSO from the start menu.
❶ Click on Edit to configure the connection.
❷ Select Visual Studio Online (Personal access token) in the Mode drop down list.
❸ Click Next to continue.
❹ Enter the server host name in the Server field. For Visual Studio Online this has the form of <your service name>.visualstudio.com.
❺ Enter the token you got when configuring the Personal access token access credentials in the Token field.
❻ Click Next to continue. The entered information will be validated before you can continue.
❼ Make sure the correct Collection is selected.
❽ Click Save to save to the connection settings.
You are now ready to use Share with VSO. Close the application and start Sharing from your applications.
Learn more about using Share with VSO