How to Generate Personal Access Token for Azure DevOps

    This article shows you how to generate a Personal access token (PAT). Personal access tokens are used to log in to Exalate for Azure DevOps.

    Note: Make sure that the user generating the PAT belongs to the Project Collection Administrators group. You can check this in Organization SettingsPermissions.

    To generate an Azure DevOps personal access token:

    1. Sign in to your organization in Azure DevOps:

      https://dev.azure.com/{yourorganization}

    2. Navigate to User settings Personal access tokens.
    3. Click New token.
    4. Choose the name for your token, select the organization where you want to use the token, and set the expiration date for the token.

      Note: Set the longest expiration period for the token to keep it valid for as long as possible.

    5. Select the following scopes:
      - Project & Teams: READ
      - User Profile: READ
      - Identity: READ
      - Member Entitlement Management: READ
      - Work Items Read, Write & Manage

      Note: Without this scope, Exalate will not be able to sync work items.

    6. Click Create.

    7. Copy the token and save it to reuse in the future.