Azure DevOps Endpoint

Azure DevOps REST API endpoint implementation for connecting to Azure DevOps organizations. Provides HTTP client access and pipeline-related API operations for migration scenarios.

Last updated: June 25, 2025 | Edit this page | Discuss this page

The Azure DevOps Endpoint is a critical component of the Azure DevOps Migration Tools that facilitates seamless connectivity between your migration processes and Azure DevOps organizations. This endpoint leverages the Azure DevOps REST API to provide comprehensive access to projects, work items, and other Azure DevOps resources.

top

Purpose and Use Cases

The Azure DevOps Endpoint serves several key purposes in migration scenarios:

  • Source and Target Connectivity: Acts as both source and destination endpoint for migrating data between Azure DevOps organizations
  • Work Item Migration: Enables the transfer of work items, including their history, attachments, and relationships
  • Project-Level Operations: Provides access to project-specific configurations and settings
  • Authentication Management: Handles secure authentication using Personal Access Tokens (PAT)
  • API Integration: Offers a standardized interface for interacting with Azure DevOps REST APIs
top

Options

Parameter Type Description Default Value
AccessToken String Personal Access Token (PAT) or other authentication token for accessing the Azure DevOps organization. Required for API authentication. missing XML code comments
AuthenticationMode AuthenticationMode Authentication mode to use when connecting to Azure DevOps. Typically uses AccessToken for modern Azure DevOps organizations. missing XML code comments
Organisation String URL of the Azure DevOps organization (e.g., “ https://dev.azure.com/myorganization/") . Must include the full organization URL. missing XML code comments
Project String Name of the Azure DevOps project within the organization to connect to. This is the project that will be used for migration operations. missing XML code comments
ReflectedWorkItemIdField String Name of the custom field used to store the reflected work item ID for tracking migrated items. Typically “Custom.ReflectedWorkItemId”. missing XML code comments
top

Behaviour

The Azure DevOps Endpoint exhibits the following key behaviors:

  • Connection Pooling: Maintains efficient HTTP connections to minimize overhead during bulk operations
  • Rate Limiting Compliance: Automatically handles Azure DevOps API rate limits to prevent throttling
  • Error Handling: Provides robust error handling with retry mechanisms for transient failures
  • Reflected Work Item Tracking: Uses custom fields to track migrated items and prevent duplicates
top

Best Practices

When configuring and using the Azure DevOps Endpoint, consider these best practices:

  • Security: Use Personal Access Tokens with minimal required permissions
  • Organization URLs: Always include the full organization URL (e.g., https://dev.azure.com/myorganization/)
  • Project Scope: Ensure the specified project exists and is accessible with the provided credentials
  • Custom Fields: Configure the ReflectedWorkItemIdField to match your organization’s custom field setup
  • Network Considerations: Ensure firewall and proxy settings allow access to Azure DevOps services
top

Limitations

Be aware of these limitations when using the Azure DevOps Endpoint:

  • API Rate Limits: Subject to Azure DevOps API throttling policies
  • Permission Dependencies: Requires appropriate permissions on both source and target organizations
  • Network Dependencies: Requires stable internet connectivity for cloud-based Azure DevOps
  • Custom Field Requirements: May require custom fields to be pre-configured in target organizations
top

Samples

top

Sample

Sample

{
  "MigrationTools": {
    "Version": "16.0",
    "Endpoints": {
      "#KEY#": {
        "EndpointType": "AzureDevOpsEndpoint",
        "AccessToken": "** removed as a secret ***",
        "AuthenticationMode": "AccessToken",
        "Organisation": "https://dev.azure.com/xxx/",
        "Project": "myProject",
        "ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
      }
    }
  }
}
top

Defaults

Defaults

There are no defaults! Check the sample for options!
top

Classic

Classic

{
  "$type": "AzureDevOpsEndpointOptions",
  "AuthenticationMode": "AccessToken",
  "AccessToken": "** removed as a secret ***",
  "Organisation": "https://dev.azure.com/xxx/",
  "Project": "myProject",
  "ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId"
}
top

Metadata

Project Information
Azure DevOps Marketplace
YouTube Channel
Maintainer

Created and maintained by Martin Hinshelwood of nkdagility.com

Documentation Versions
Production Azure DevOps Migration Tools Release Version
Preview Azure DevOps Migration Tools Preview Version
Getting Support
Community Support
Questions & Discussions

The first place to look for usage, configuration, and general help.

Commercial Support

We provide training, ad-hoc support, and full service migrations through our professional services.

Azure DevOps Migration Services
Documentation