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
- Log in to the Azure Portal as an admin.
- Select App registrations and click New registration.
-
Enter the app name.
For example: Azure DevOps integration.
- Under Supported account types, select the appropriate account type for your organization.
-
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.
- Click Register.
-
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.
- Navigate to Certificates & secrets > Client secrets and click New client secret.
- Add a description, select an expiration, and click Add.
-
Copy the generated Client secret value.
Important: This value is not retrievable after you leave the page.
- Navigate to API permissions and click Add a permission.
- Select Azure DevOps from the list of APIs.
-
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.
For more details, see OAuth 2.0 authentication for Azure DevOps REST APIs - Click Add permissions.
- Click Grant admin consent for [your organization] and confirm.