Azure DevOps Connector
Documentation
Version: 2
Documentation

Authentication :: OAuth [OAuth]


Description

No description available

Instructions

Connecting to your Azure DevOps data requires you to authenticate your REST API access. Follow the instructions below:
  1. Go to https://app.vsaex.visualstudio.com/app/register to register your app.
  2. Fill in your application and company's information as required, and then select the scopes that your application needs. This should typically be Project and team (read and write) and Work items (read and write).
    Your selected scopes when registering your app must match the scopes you enter here on the connector screen. If they don't match, the connector will not be able to work with your Azure DevOps account!
    If you need further information about the scopes used in Azure DevOps, or need to see what to enter into the connector screen to match up with your selected scopes, visit https://learn.microsoft.com/en-us/azure/devops/integrate/get-started/authentication/oauth?view=azure-devops.
  3. Select Create Application and then the Application Settings page will be displayed.
  4. Record the application settings that are displayed for us to use later, especially the App ID and the Client Secret.
  5. Visit https://aex.dev.azure.com. Once you are logged in, record your organization name in the URL that is displayed on the page. For example, if your organization is called "acmeinc", the URL on the page would be acmeinc.visualstudio.com.
  6. Back at the connector screen, enter the App ID that was recorded in step 4 into the Client Id (App ID) field.
  7. Enter the client secret that was recorded in step 4 into the Client Secret field. In order to edit the text in this field, select the ellipses (...) button that appears when the textbox is clicked and edit the client secret with the dialog box that appears.
  8. Enter the organization that was recorded in step 5 into the Organization name or Id for url field.
  9. Click Generate Token. If proper authentication occurs, you will see a notice saying so. You can click Yes to save a backup file of your generated tokens.
  10. Select the project you want to connect to by default from the Default Project (Choose after Generating Token) field.
  11. Select the Security tab.
  12. Enter https://auditservice.dev.azure.com,https://almsearch.dev.azure.com into the Additional Trusted Domains field.
  13. Select the Test Connection button at the bottom of the window to verify proper connectivity with your Azure DevOps account.
  14. If the connection test succeeds, select OK.

Parameters

Parameter Label Required Options Description Help
ClientId Client Id (App ID) YES The App ID obtained from the Azure Portal.
ClientSecret Client Secret YES The Client Secret obtained from the Azure Portal.
Organization Organization name or Id for url (e.g. mycompany) YES The organization name or Id obtained from the Azure Portal.
Project Default Project Name (Choose after Generating Token) NO The default project name to make API calls for.
ReturnUrl Return URL YES
Option Value
https://zappysys.com/oauth https://zappysys.com/oauth
The URL to send the authentication token back to.
Scope Scope YES
Option Value
Project and team (read) vso.project
Project and team (read and write) vso.project_write
Project and team (read, write and manage) vso.project_manage
Work items (read) vso.work
Work items (read and write) vso.work_write
Work items (full) vso.work_full
The scopes of access needed for the Azure DevOps API connection.
ApiVersion API Version YES
Option Value
6.0 6.0
7.0 7.0
7.1-preview.2 7.1-preview.2
The version of the Azure DevOps API to use.
RetryMode RetryMode NO
Option Value
None None
RetryAny RetryAny
RetryWhenStatusCodeMatch RetryWhenStatusCodeMatch
RetryStatusCodeList RetryStatusCodeList NO
RetryCountMax RetryCountMax NO
RetryMultiplyWaitTime RetryMultiplyWaitTime NO