Configure Azure DevOps app for OAuth 2.0 authentication - Register an application in the Azure portal, generate a client secret, and grant the required Azure DevOps API permissions to enable OAuth 2.0 authentication for the Connect action .

Automation 360

Register an application in the Azure portal, generate a client secret, and grant the required Azure DevOps API permissions to enable OAuth 2.0 authentication for the Connect action.

Procedure

  1. Log in to the Azure Portal as an admin.
  2. Select App registrations and click New registration.
  3. Enter the app name.
    For example: Azure DevOps integration.
  4. Under Supported account types, select the appropriate account type for your organization.
  5. Under Redirect URI, select Web and enter the Control Room callback URL.
    Note: The callback URL is available in the Control Room when you create an OAuth connection. For more information, see Create OAuth connection.
  6. Click Register.
  7. On the application Overview page, copy the Application (client) ID and Directory (tenant) ID.
    These details are required when configuring the OAuth connection in the Control Room.
  8. Navigate to Certificates & secrets > Client secrets and click New client secret.
  9. Add a description, select an expiration, and click Add.
  10. Copy the generated Client secret value.
    Important: This value is not retrievable after you leave the page.
  11. Navigate to API permissions and click Add a permission.
  12. Select Azure DevOps from the list of APIs.
  13. Select Delegated permissions and select the required scope for your use case.

    Common scopes include:

    vso.code
    Read access to source code repositories.
    vso.code_write
    Read and write access to source code repositories.
    vso.work
    Read access to work items.
    vso.work_write
    Read and write access to work items.
    vso.project
    Read access to projects and teams.
    vso.wiki
    Read access to wikis.
    vso.build
    Read access to build definitions and build results.
    vso.build_execute
    Read access and ability to queue builds.
  14. Click Add permissions.
  15. Click Grant admin consent for [your organization] and confirm.