Configure Share with VSO for Visual Studio Online using Personal Access Token

Create Personal Access Token on Visual Studio Online

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.

How-to open user profile settings in Visual Studio Online

 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.

How-to configure personal access tokens in Visual Studio Online

When the token is created copy it to the clipboard and leave the page open until you have configured Share with VSO.

Configure Share with VSO with Personal Access Token for Visual Studio Online

Start Share with VSO from the start menu.

 Click on Edit to configure the connection.

How-to open edit connection in Share with VSO

 Select Visual Studio Online (Personal access token) in the Mode drop down list.

 Click Next to continue.

How-to choose Visual Studio Online (Personal access token) connection mode.

 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.

How-to enter Visual Studio Online (Personal access token) connection information.

 Make sure the correct Collection is selected.

 Click Save to save to the connection settings.

Select collection.

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