Setting up Azure DevOps OAuth 2.0 credential
Create Azure DevOps OAuth 2.0 credential and use them to connect your Azure DevOps instance.
Create a tenant in Microsoft Entra
Create a tenant in Microsoft Entra and set up the required permissions to create an Azure DevOps (ADO) app.
시작하기 전에
Role required: Tenant Creator in Azure DevOps.
이 태스크 정보
Your tenant represents your organization and helps you to manage a specific instance of Microsoft Cloud services for your internal and external users.
If you have an existing tenant, which has access to create an ADO app, you do not need to perform this procedure. If you don’t have a tenant, you must create a tenant in Microsoft Entra, which will have access to create an ADO app.
프로시저
Add a user to tenant in Microsoft Entra
Add a user who contains the admin role, to the tenant created in the previous procedure.
시작하기 전에
Role required: User Administrator in Azure DevOps
프로시저
Create an organization in Azure portal
Create an organization in the new tenant, which has access to create an app.
시작하기 전에
Role required: Global Administrator in Azure DevOps
프로시저
Create an Azure DevOps app
Create and configure an Azure DevOps (ADO) app and copy the required values to enable OAuth 2.0 authentication with your ServiceNow instance.
시작하기 전에
Role required: Global Administrator in Azure DevOps
프로시저
Register Azure DevOps as an OAuth provider
Use the information generated during Azure DevOps (ADO) app account configuration to register Azure DevOps as an OAuth provider and enable the instance to request OAuth 2.0 tokens.
시작하기 전에
Role required: admin
프로시저
Configure organization and project level settings
Configure organization and project level settings for your app.
시작하기 전에
Role required: Member of the Project Collection Administrators group or organization's owner.
프로시저
Create credential record and get OAuth token
Create credential record and get OAuth token.
시작하기 전에
Role required: admin, sn_devops.admin
이 태스크 정보
For ADO OAuth 2.0, you must create separate credential records for build, release, and feeds in ServiceNow.