|
Tool name
|
Name for your Azure DevOps integration.
|
|
Tool integration
|
Select Azure DevOps.
|
|
Connect to an organization or project
|
Select from the list.- **Connect an organization**: Connect directly at your Azure DevOps organization level. All the projects within the organization will be discovered, and you can choose to configure multiple projects within the organization.
- **Connect a project**: Connect directly at the project level.
|
|
Tool URL
|
Azure DevOps organization URL \(for example, `https://dev.azure.com/`\) or the Azure DevOps project URL \(for example, `https://dev.azure.com//`\).
|
|
Credential type
|
Type of credential, **Basic Auth** or **OAuth 2.0**.**Basic Auth**
1. Enter your ADO instance username.
2. Enter the [Personal access token \(PAT\)](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page) or password for your Azure DevOps instance.
**Note:**
When you generate a Personal access token \(PAT\) for Azure DevOps, you must select the scopes to authorize if you aren’t granting complete access. See [Azure DevOps PAT scopes for DevOps](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/dev-ops-pat-scopes-azure.md).
**OAuth 2.0**
Pre-requisites:
- [Create a tenant in Microsoft Entra](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/set-up-azure-devops-oauth-2-0-credential.md)
- [Add a user to tenant in Microsoft Entra](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/set-up-azure-devops-oauth-2-0-credential.md)
- [Create an organization in Azure portal](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/set-up-azure-devops-oauth-2-0-credential.md)
- [Create an Azure DevOps app](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/set-up-azure-devops-oauth-2-0-credential.md)
- [Register Azure DevOps as an OAuth provider](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/set-up-azure-devops-oauth-2-0-credential.md)
- [Configure organization and project level settings](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/set-up-azure-devops-oauth-2-0-credential.md)
- [Create credential record and get OAuth token](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-service-management/devops-change-velocity/set-up-azure-devops-oauth-2-0-credential.md)
In the **Tool credential** field, select an OAuth 2.0 tool credential record.**Note:** Only records that are not in use and configured for ADO can be selected as an existing credential record.
|
|
Do you wish to configure webhook for this tool?
|
Option to enable configuring webhooks automatically for Azure DevOps. Select to enable.**Note:** This option isn’t available if you're connecting at the organization level. You can configure webhooks from the tool records page.
|
|
Integration username
|
This field is available only when the option to configure webhook is selected.Enter the username for the DevOps Integration User account.
**Note:**
- The step to enter the integration user name and password is required to configure only when DevOps Config is installed or the **This property decides whether to create a Generic Connection on configure operation for Azure DevOps** property is enabled. If this step is not required, webhooks are configured using token-based authentication.
- When DevOps Config is installed or the Generic Connection on configure operation for Azure DevOps property is enabled, you can regenerate token \(auto-configure with new token\) from the workspace UI only, which will update integration user password. When DevOps Config is not installed, token can be regenerated from both the workspace and classic UI for token based authentication. Re-generate your token periodically for better security.
.
|
|
Integration user password
|
This field is available only when the option to configure webhook is selected.Enter the password for the DevOps Integration User account.
**Note:**
- The step to enter the integration user name and password is required to configure only when DevOps Config is installed or the **This property decides whether to create a Generic Connection on configure operation for Azure DevOps** property is enabled. If this step is not required, webhooks are configured using token-based authentication.
- When DevOps Config is installed or the Generic Connection on configure operation for Azure DevOps property is enabled, you can regenerate token \(auto-configure with new token\) from the workspace UI only, which will update integration user password. When DevOps Config is not installed, token can be regenerated from both the workspace and classic UI for token based authentication. Re-generate your token periodically for better security.
|
|
Use MID Server
|
Optional. Select MID Server for an on-premises tool that is attached to a MID Server. Application is automatically set to DevOps and capability is set to REST.
|