Set up Microsoft Azure DevOps Pipelines spoke
Integrate your ServiceNow instance and Azure DevOps Pipelines application by setting up a connection record.
Before you begin
- Request an Integration Hub subscription.
- Activate the Microsoft Azure DevOps Pipelines spoke.
- Role required: admin.
Configure the default connection record
Configure the default connection record for your Azure DevOps Pipelines application that enables integration of your ServiceNow instance with the Azure DevOps Pipelines application.
Before you begin
Role required: admin
Procedure
-
Create a personal access token in Azure DevOps portal.
Azure DevOps application authenticates the ServiceNow instance access request based on the personal access token presented.
- Log in to Azure DevOps portal.
-
On the landing page, select the User Settings icon (
).
- In the menu, select Personal access tokens.
- On the Personal Access Tokens page, select + New Token.
-
Fill the Create a new personal access token form.
Table 1. Create a new personal access token Field Description Name Custom name of the personal access token. Organization It contains all the resources and settings related to the DevOps pipeline and project management. Tip:To locate the name of the organization, navigate to the home page of the DevOps Pipeline application. The name of the organization is provided above the Projects tab.Expiration (UTC) Expiration date of the personal access token. Scopes Resources or settings in Azure DevOps Pipelines application that you can access with the personal access token. Select Custom defined and under the Build section, select Read & execute. - Select Create.
-
To copy the personal access token, click the Copy to clipboard button.
- Select Close.
-
Configure the default connection record in your ServiceNow instance.
- Log in to your ServiceNow instance.
- Navigate to All > Process Automation > Workflow Studio.
- Click the Integrations tab.
- Select Connections.
- In the Search all connections field, enter Microsoft Azure DevOps Pipelines.
- In the Microsoft Azure DevOps Pipelines card, click View Details.
-
Click Configure.
-
Fill the form.
Table 2. Configure Connection Field Description Connection Name Name of the connection record. The default and read-only name of the first connection is Microsoft Azure DevOps Pipelines. Note:To provide a custom name of a connection, you must create a connection record. To create, select Add Connection.Connection URL URL to the Azure DevOps Pipelines application. The URL format is https://dev.azure.com/<organization>. Replace the placeholder <organization> with the organization name in the Azure DevOps Pipelines application.Tip:You can find the organization name under the Organization column of the Personal Access Tokens page.Personal Access Token Enter the personal access token you had created. -
Select Configure Connection.
The connection record is created.