Skip to main content
You need permission to register applications in your Microsoft Entra ID tenant, and administrator rights to grant admin consent. Note: end users cannot grant consent to newly registered multitenant apps without verified publishers.

Register a Microsoft Entra ID application

Create an app registration in Microsoft Entra ID to enable OAuth 2.0 authentication with Azure DevOps.

1

Choose the supported account types

Sign in to the Microsoft Entra admin center with your Microsoft work account, then in the left sidebar under Entra ID, open App registrations.

  • Click + New registration in the toolbar.
  • Name: A name for the app
  • Supported account types: Multiple Entra ID tenants (shown as Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant))
  • Select Allow all tenants.
Supported account types dropdown open with Multiple Entra ID tenants highlighted
2

Set the Redirect URI and register

Set the redirect URI in the Register an application form.

  • Redirect URI (optional): select Web, then enter the Callback URL from your Connector Profile
  • Click Register.
Completed Register an application form with the Register button highlighted
3

Add the user_impersonation permission

In the app’s left menu under Manage, open API permissions.

  • In the Configured permissions section, click + Add a permission.
  • In the Request API permissions panel, select the Microsoft APIs tab.
  • Select the Azure DevOps tile (“Integrate with Azure DevOps and Azure DevOps server”).
  • Under Delegated permissions, check user_impersonation (“Have full access to Visual Studio Team Services REST APIs”).
  • Click Add permissions.
Delegated permissions list with user_impersonation checked and highlighted
4

Grant admin consent

Admin consent is granted from the Configured permissions section of API permissions.

  • Click Grant admin consent for [your tenant].
  • Click Yes to confirm.
Configured permissions with the Grant admin consent button highlighted
5

Copy the Client ID

On the app’s Overview page, in the Essentials panel.

  • Copy the Application (client) ID to Client ID in your Connector Profile.
App Overview Essentials panel with the Application (client) ID highlighted
6

Create a client secret

In the app’s left menu, open Manage > Certificates & secrets.

  • On the Client secrets tab, click + New client secret.
  • Description: A name that identifies this secret
  • Expires: Recommended: 180 days (6 months), then create a new secret before it expires
  • Click Add.
Add a client secret panel with Description and Expires fields and the Add button highlighted
7

Copy the Client Secret

The Client secrets tab shows the new secret’s Value only until you leave the page.

  • Copy the Value to Client Secret in your Connector Profile.
Client secrets tab with the one-time secret Value highlighted and redacted

Create the StackOne Connector Profile

1

Create a Connector Profile

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.
2

Link an Account

Once the Connector Profile is created, continue to link an account.