33,395 questions
Best practices
0
votes
1
replies
43
views
Azure DevOps Test Execution in DevOps
My organisation uses user stories for requirements (for both agile and waterfall projects). We have just added test plans and would like to 'link' test to the relevant User Story'.(Tests were ...
0
votes
1
answer
56
views
Git (2.53.0) Credential Manager Not Found on WSL2 Ubuntu 24.04
I have installed Git for Windows on my Windows 11 machine and a fresh Ubuntu 24.04 (as of 3/31/2026) .
I then updated to the latest git within WSL (git version 2.53.0)
Next I configured git on the WSL ...
Tooling
0
votes
1
replies
37
views
Azure DevOps Real time data layer
I’m currently exploring an idea for building a real-time Azure DevOps organization data layer and would really appreciate your guidance.
The goal is to maintain up-to-date information on users, groups,...
Advice
0
votes
0
replies
36
views
ADO repo setup for a data/analytics team?
I’d appreciate some advice from anyone who has set up Azure DevOps repos for a data/analytics team. We support business reporting and enhancement requests, so our work is not one large application ...
Advice
1
vote
1
replies
91
views
Integrating Azure DevOps pipelines and Hashicorp Vault
We have an Azure DevOps Server 2022.2 on premises, and we would like to start to use Hashicorp Vault.
At the moment, we make secrets available in our pipelines using the Azure DevOps native techniques,...
0
votes
0
answers
46
views
Azure DevOPS - Bitbucket OAUTH Consumer Integration - Getting 404
Tried to integrate bitbucket to Azure Devops, created bitbucket OAUTH Consumer and calbback url as "https://app.vssps.visualstudio.com/oauth/callback" and the added OAUTH configuration in ...
0
votes
1
answer
76
views
Azure Microsoft Hosted Agent is always in Queue or Connecting status
I just recently increased/purchased a Microsoft Hosted parallel job. But, I am currently experiencing a problem with Azure DevOps pipelines:
CI pipelines are always in the Queued state
CD pipelines ...
0
votes
0
answers
94
views
Azure Dev Ops - Org level search has changed to Code search
We can not find anywhere that any extension was added or any settings to disable Code search on the org. In the last 2 days our search has went from:
To now looking like:
This new search is very ...
-1
votes
1
answer
39
views
AADSTS50020: Personal/external account cannot access Azure DevOps OAuth app registered in company tenant
I'm building an Azure DevOps integration for our company's SaaS application. When external users with personal account try to authenticate, they get this error:
AADSTS50020: Selected user does not ...
0
votes
0
answers
34
views
Passing parameters with variables into a template is not expanding
I have an Azure DevOps Pipeline template to run some tasks against Azure using the Azure CLI. It has a parameter to consume a file path.
From my calling pipeline, I need to look up a version number, ...
0
votes
1
answer
50
views
Is it possible to deny an Azure Devops group access to create main branches, but allow them to create branches under subfolders?
In my Azure DevOps organization, at the repository level, there is a 'Create Branch' option that allows users/groups to create branches. I would like to know if it is possible to restrict a group (...
Best practices
0
votes
1
replies
59
views
Azure Devops test plan import
I have exported my test suite into a .csv from project A in Azure Devops, andy trying to import it into a test plan in project B to recreate all the test cases there. However, I've encountered problem ...
Best practices
0
votes
0
replies
46
views
Azure VM Scale Set and Loadbalancer
When VMSS scales out and creates a new VM instance (VM3), it is based on an older base image. The other two VMs (VM1, VM2) already have the latest code deployed via the Release Pipeline. VM3 boots up →...
1
vote
0
answers
102
views
Error 'Could not load file or assembly 'Microsoft.Identity.Client,' with witadmin export
I'm trying to download an XML work item template from an on-premise Azure DevOps 2022 server. I used the following command:
witadmin exportwitd /collection:pathToCollection /p:projectName /n:Task /f:&...
0
votes
1
answer
59
views
Use same variable from multiple Azure DevOps Pipeline Libraries
I have an issue and I just can't figure out a way to solve it.
I have a variable group for each of my environments environment:
My_Var_Group_Prod
My_Var_Group_Dev
In each of those variable groups I ...
0
votes
0
answers
45
views
Find source of ANSI SQL Warnings in TSQLT
I'm using tSQLt to run unit tests in an Azure DevOps pipeline and capturing results in JUnit XML format to publish as test results on the pipeline. Often it works.
But occasionally I get a test output ...
0
votes
1
answer
64
views
Modifying files during an Azure DevOps Build Validation pipeline keeps triggering re-runs
I have a repository that implements automatic versioning using commitizen. Handling version bumps after merging to main is trivial, I have a simple pipeline to perform the cz bump and then push that ...
0
votes
2
answers
183
views
How to get a list of all Azure DevOps project users using REST API with TypeScript
I am developing an Azure extension. I found this documentation for the Azure REST API. I wonder if there is any way to list the users in a project; something like:
export async function ...
Tooling
0
votes
1
replies
76
views
How to retrieve Test Cases from a Test Execution in Xray Cloud for manual-triggered automation (Azure DevOps integration)?
I am working with Xray Cloud on Jira Cloud (hosted on the Atlassian domain, not self-hosted) and I am trying to implement a manual-triggered automation workflow.
🎯 My Goal / Architecture
I want to ...
Advice
0
votes
5
replies
76
views
Backup GIT Repository Azure DevOps
For disaster recovery, my company needs backups of our ADO Git repos. My predecessor set up a backup by cloning the repos with --no-checkout option:
git clone --no-checkout {ReposURL} {...
0
votes
1
answer
64
views
Replace connection string in a web.config during Azure release pipeline not working
I'm creating some release pipelines in Azure DevOps to publish a web application on IIS. Because I have different environments, I want to replace the connection string in the web.config. In each ...
Best practices
0
votes
1
replies
28
views
Azure DevOps Test Plans: best practice for linking UI functional test cases when requirements change
I’m using Azure DevOps Services with Azure Test Plans and I’m struggling with traceability when requirements evolve.
Scenario:
User Story A implemented Requirement A (v1) and is now Done.
I created ...
1
vote
0
answers
30
views
Azure Synapse CI/CD (npx synapse-artifacts validate/generate) failing in build pipeline with npm EACCES trying to reach registry.npmjs.org
I’m implementing a CI/CD build pipeline for an Azure Synapse workspace. The pipeline runs on a Windows build container and is supposed to validate Synapse artifacts and generate ARM templates using ...
1
vote
0
answers
55
views
How to get the extension secret for the Azure Devops server local extension
I noticed that for Azure DevOps extensions, we can obtain a secret key from the marketplace, as mentioned in the documentation:
https://learn.microsoft.com/en-us/azure/devops/extend/develop/auth?view=...
0
votes
0
answers
54
views
Azure Pipeline succeeds despite Vitest test crashing with process.abort()
Problem
My Azure Pipeline step is passing even though my NestJS unit tests are crashing with a native error during initialization. The logs show a process.abort() call and native stack trace, but the ...
0
votes
0
answers
46
views
RSAT (D365 Finance & Operations) – “No client was opened in the timeout period”
I’m trying to set up RSAT (Regression Suite Automation Tool) to run existing test cases from Azure DevOps Test Plans against a Dynamics 365 Finance & Operations environment (cloud sandbox). The ...
-2
votes
1
answer
61
views
How can I grant Reader access to my Azure DevOps Wiki? [closed]
I have a wiki as part of my Azure DevOps project that I need to provide read access to to a subset of users within my organisation. The users should only be able to read the wiki, and should not be ...
-3
votes
1
answer
35
views
How can I deploy this ARM template in Terraform?
How would I be able to deploy only this ARM template in Terraform?
Would I need to make a separate Terraform file to deploy it in Azure utilizing "azurerm_resource_group_template_deployment"?...
0
votes
1
answer
87
views
Pipeline needs permission error on certain users
We have an environment named DevServers.
My colleague created a new deploy yml pipeline. First time he tried this, we get blocked by this error:
This pipeline needs permission to access a resource ...
0
votes
1
answer
99
views
error NU1100: Unable to resolve 'XYZ' for 'net8.0'. PackageSourceMapping is enabled, the following source(s) were not considered: feed-Uno, nuget.org
Task name
DotNetCoreCLI@2
Task version
2.266.0
Issue Description
We have a service targetting to the .net 8. There was no issues with the deployement so far, but suddenly it started failing on dotnet ...
0
votes
1
answer
68
views
Azure DevOps Pipeline not triggering
I have an existing YAML file that would trigger on anything committed to the repo:
trigger:
- main
- releases/*
pr:
branches:
include:
- '*'
resources:
- repo: self
My goal is to ...
0
votes
0
answers
89
views
Error when promoting Fabric DWH from dev to test
I work in Fabric and synced workspaces dev, test and prod to corresponding git branches - dev, test, main (all of them under one repository in Azure DevOps). I have many Fabric items in dev workspace -...
1
vote
0
answers
47
views
A fatal error occurred: python-security-extended.qls is not a .ql file, .qls file, a directory, or a query pack specification
enter image description here
error while running the Advanced security scanning using codeql in my azure devops i installed self-hosted-agents name dev-pool
and installed them in ubuntu machine(ec2) ...
1
vote
1
answer
48
views
How can I roll up the remaining effort in an OData query to Azure DevOps?
I'm trying to query our Azure DevOps project to build a management dashboard with a few KPIs that can be easily sliced by area path, etc.
I've managed to get the basic data with an OData query of the ...
Best practices
0
votes
2
replies
41
views
Conditional checkout of repository in build Azure DevOps pipeline
I have entry pipeline for build in Azure DevOps. Some applications have defined only templates-repo repository, others have also defined changelogs repository. Parameter ChangelogSync specifies if ...
1
vote
1
answer
65
views
Output variables not available between deployment jobs in Azure DevOps Pipelines [closed]
I have a use case in which we need to have multiple deployment jobs in a single pipeline. Following this documentation, I have defined the pipeline as follows (I’ve simplified a bit and removed ...
Advice
0
votes
1
replies
34
views
Azure Devops Query to Show Created vs Completed User Stories in a Bar Chart
I have to create one chart in our project dashboard that should display total number of user stories created and completed for a specific period. I have created below query in ADO
This chart output ...
Advice
0
votes
1
replies
24
views
Azure Foundry Agent OpenAPI connector: Cannot authenticate to Azure DevOps using PAT in OpenAPI spec
I’m trying to connect Azure Foundry Agent (OpenAPI connector) to Azure DevOps REST API.
Locally, the following curl command works and returns a valid JSON list of repositories:
curl -u :<PAT> \
...
Tooling
0
votes
1
replies
68
views
Azure DevOps, How to get the list of files got modified for the PR (pull requests) along with the number of lines that got modified, deleted and added
I'm using Azure DevOps and I want to get the list of FIles along with the lines count (Added, Deleted, Modified) that are part the particular PR (Pull request).
what are all the ways we can get this ?
Best practices
0
votes
0
replies
38
views
Azure DevOps Deploy Web App to IIS On Premise
I have a question about the best way to deploy a web application to an IIS Server on Premise with Azure DevOps.
I have two pipelines, one for the Build and one for the Deployment in YAML. The Web ...
Advice
0
votes
1
replies
27
views
How to create a kubernetes configmap from .env file through a yaml spec?
To explain the X/Y problem:
I'm working on a generic deployment pipeline spec (Azure release pipeline) that is supposed to be easily configurable and reusable through the UI. The pipeline itself ...
0
votes
1
answer
72
views
Pipeline selects wrong “latest” file after checkout [closed]
I have an Azure DevOps YAML pipeline that should pick the latest *.tar.gz package from tar/ and publish it as a pipeline artifact. Locally ls -t works, but in the pipeline it picks an older file (e.g. ...
0
votes
1
answer
118
views
Test Results in Pull Request always show all tests as “new”
I have an Azure DevOps pipeline configured as a Branch Policy build validation for Pull Requests into the develop branch.
The pipeline runs automatically for every PR targeting develop.
The pipeline ...
3
votes
0
answers
65
views
Azure DevOps IIS deploy with file transform web.config issue [closed]
I have Azure DevOps IIS deployment issue with file transform. The file transform is working and I see the transformed file in the WebApp.zip file. But on the deployment it is somehow still using the ...
0
votes
2
answers
227
views
Azure DevOps Pipeline Error: "A supported task execution handler was not found" on Windows for Azure APIM Task
I'm running an Azure DevOps pipeline that uses the "Azure API Management API Utility" task (from the Azure API Management DevOps Marketplace) to deploy APIs.
The pipeline fails with the ...
0
votes
1
answer
81
views
Azure DevOps REST API (Go): How to retrieve all users with permissions on a project? [duplicate]
I’m trying to retrieve all users who have permissions on a specific Azure DevOps project (i.e., the users shown in the project’s Permissions tab).
I understand how to retrieve a list of projects using ...
1
vote
0
answers
39
views
"Deploy all in sequence" seems to deploy in reverse order
We have a release pipeline in Azure DevOps that has a stage that has a schedule to deploy every evening at 8pm.
Now, assume we create two releases on the same day, let's call them R1 and R2. For ...
0
votes
0
answers
49
views
Azure DevOps pass artifacts produced by stage 1 to template which is at stages level
We have this use case:
RepoA has code for global application
Requirement is to deploy RepoA code into RepoB by overriding infra and a few properties.
We have created an Azure DevOps pipeline where ...
0
votes
1
answer
107
views
Connect-AzAccount : ManagedIdentityCredential authentication unavailable. No Managed Identity endpoint found
Background
I have a PowerShell test script that uses azuresigntool.exe to sign a file using a certificate in an hsm-backed azure key vault (Azure Key Vault - Premium tier). The certificate is a ...
1
vote
1
answer
255
views
WARNING: Unable to encode the output with cp1252 encoding
I am trying to run a powershell script on Microsoft hosted agent "windows-latest" (azure pipeline), It uses below az cli command:
$projects = az devops project list --organization "...