Skip to main content
PATs grant access based on your Azure DevOps permissions. Keep them secure and use the minimum required scopes.

Generate a Personal Access Token

Create a PAT to enable API access with your Azure DevOps account.

1

Navigate to PAT settings

Sign in to Azure DevOps and access your user settings.

  • Note: the link redirects to the Microsoft Entra admin center after sign-in — use the menu (app launcher) in the top-left to navigate to Azure DevOps.
  • Click the User settings icon (person with gear) in the top-right corner.
  • Select Personal access tokens.
2

Create a new token

Generate a new Personal Access Token.

  • Click New Token.
  • Enter a Name (e.g., StackOne Integration).
  • Select your Organization from the dropdown.
  • Set the Expiration date.
  • Under Scopes, select Full access or choose specific scopes.
  • Click Create.
  • Copy the token immediately and store securely — it is only shown once.

Find your organization name

Your Azure DevOps organization name is part of your Azure DevOps URL.

  • Sign in to Azure DevOps. Note: the link redirects to the Microsoft Entra admin center after sign-in — use the menu (app launcher) in the top-left to navigate to Azure DevOps.
  • Your URL format is: https://dev.azure.com/{organization}
  • Example: if your URL is https://dev.azure.com/contoso, your organization is contoso

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Personal Access Token
  • Organization
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.