Skip to content

Conversation

Axecalever
Copy link

As I am using on-prem deployed azure devops server. I believe this patch will be able to take URLS others than "dev.azure.com"

@SonRobo
Copy link

SonRobo commented Aug 12, 2025

@Axecalever
I applied your changes, but when I use the getme tool, it returns an "unauthenticated" error.
AzureDevOpsAuthenticationError: Failed to connect to Azure DevOps: Failed to authenticate with Azure DevOps: unable to get local issuer certificate
Here are the environment variables I set:

AZURE_DEVOPS_AUTH_METHOD=pat
AZURE_DEVOPS_ORG_URL=https://si0vmc3960.de.vic.com/tfs/DefaultCollection
AZURE_DEVOPS_PAT=
Also, could you provide me with the API details so I can test it using Postman?
for example https://si0vmc3960.de.vic.com/tfs/_apis/ConnectionData with bearer token right?
my api version is
api-version=6.0-preview

@Axecalever
Copy link
Author

Axecalever commented Aug 12, 2025 via email

@GlassOnTin
Copy link

Code Review

Good: Adds pattern matching for on-premise Azure DevOps Server.

Issue: Incomplete implementation. Only fixes organization name extraction but doesn't address:

  • API version differences between cloud and on-prem
  • Authentication differences (NTLM/Kerberos for on-prem)
  • URL construction throughout the codebase still assumes cloud format

Needs:

  1. Update to handle on-prem auth
  2. Fix URL patterns in all feature modules
  3. Add configuration flag to distinguish cloud vs on-prem
  4. Test with actual on-prem instance

This PR is a start but needs significant additional work for full on-prem support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants