Connect action in Azure DevOps package

The Connect action in the Azure DevOps package enables you to establish an authenticated session with an Azure DevOps instance. The action supports two authentication methods: Personal Access Token and OAuth 2.0 connection. On successful execution, the action creates a session context that subsequent Azure DevOps actions can reuse.

Prerequisites

  • A valid Azure DevOps organization URL in the format: https://dev.azure.com/<organization>.
  • A valid Azure DevOps project name within the target organization.

Settings

  • Authentication method: Choose the method to authenticate with Azure DevOps.
    • Personal Access Token The personal access token used to authenticate with Azure DevOps. Choose Credential to use a credential stored in the Control Room, choose Variable to use a string variable, or choose Insecure string to enter the token directly. The token must have the required permissions for all Azure DevOps actions used in the automation
    • OAuth2 connection: The OAuth 2.0 connection configured in the Control Room. The connection must grant the required permissions for all Azure DevOps actions used in the automation.
  • Organization URL: Specify the Azure DevOps organization URL, for example, https://dev.azure.com/<organization>. Enter the value directly or use a string variable. The URL must be a valid, accessible Azure DevOps organization URL.
  • Project name: Specify the name of the Azure DevOps project within the specified organization. Enter the value directly or use a string variable.
  • Azure DevOps Session: The session variable to store the Azure DevOps session context. Choose Local session to scope the session to the current bot, Global session to share it across bots such as parent bots and child bots, or select an existing session variable of the Azure DevOps session subtype.