Azure DevOps Server (formerly Team Foundation Server or TFS) is the latest iteration of Microsoft's DevOps and ALM product suite which contains source control (Azure Repos), CI/CD (Azure Pipelines), agile work and portfolio management (Azure Boards) etc. The current version of Azure DevOps Server is 2022. Use this tag for questions on the on-prem version, as opposed to Azure DevOps Service, which is the cloud version.
Questions tagged [azure-devops-server-2020]
107 questions
2
votes
0 answers
Duplicate a DevOps collection
I wanted to do some experiments on our on-prem DevOps collection database. Alas, I'm having a bit trouble actually duplicating said collection. I mean, it's easy enough to take a backup of the database, but now I'd like to restore the collection…

MBender
- 5,395
- 1
- 42
- 69
2
votes
0 answers
How to synchronize sequentially different jobs in a single YAML build?
We use Azure DevOps Server 2020 (on-prem).
Rationale
Our PR build takes a long time to build. With msbuild /m:4 flag it takes about 45 minutes to build from clean. The pipeline is configured to clean the outputs and run git clean before the build…

mark
- 59,016
- 79
- 296
- 580
2
votes
1 answer
""Your build pipeline references an undefined variable" : it's just a powershell variable
I have a Powershell task in a job in a Pipeline in Azure Devops Server 2020. Here's part of the powershell:
$xml = [xml](Get-Content $configPath)
Write-Output "Iterating over appSettings"
ForEach($add in…

Ross Presser
- 6,027
- 1
- 34
- 66
2
votes
2 answers
Azure DevOps self-hosted agent is not able to download artifact from Azure Artifacts
Azure DevOps Server 2020 with self hosted agents on a different server
I have a build, which is creating an artifact in Azure Artifacts, then a release pipeline is triggered which should download this artifact and do something with it. Previously,…

ldl
- 58
- 5
2
votes
1 answer
Azure DevOps Server migration & upgrade
I am preparing for a process of migrating and upgrading our on-premise Azure DevOps Server instance. I tried to collect information on the best practices to perform these tasks, but I am still not sure, what is the best way to get this done.
What I…

Zdenek Neustupa
- 33
- 4
2
votes
1 answer
Is it possible to customize Steps of Test Case work item?
I'm using Azure DevOps Server 2019 update 1.1 on premises.
I'd like to customize Steps of Test Case work item described here: https://learn.microsoft.com/en-us/azure/devops/test/create-test-cases?view=azure-devops-2019#create-test-cases
For…

Francesco Sclano
- 145
- 1
- 12
1
vote
1 answer
Migrating to Azure DevOps Service. DataMigrationTool error - VS403310: An inconsistency was detected in some of the files in the collection
I'm attempting to migrate our on-premises Azure DevOps Server to a cloud Azure DevOps Service.
I've run the DataMigrationTool but am getting the error:
Validation completed 'Validate File Content Consistency' with result Failed, message VS403310: An…

mattho
- 11
- 1
1
vote
1 answer
Showing swimlane in detail view
I have a custom 'work item type' in an on-premise TFS. I want to show the System.BoardLane field (the swimlane of the item) in the detail view of an item (when clicking the item in kanban board). I see that the field is already referenced in the…

Endy Tjahjono
- 24,120
- 23
- 83
- 123
1
vote
0 answers
Azure DevOps - System.Security.Cryptography related errors when running build task in pipeline
In DevOps Server 2020 I've got a pipeline that has a MSBuild step that is failing for my UWP app. When attempting to build, I receive errors such as the following:
##[error]C:\Program Files (x86)\Microsoft…

cnavarro86
- 11
- 2
1
vote
1 answer
How to recover Pipelines (builds) in Azure DevOps Server 2020 that got removed during ADS upgrade?
How to recover Pipelines (builds) in Azure DevOps Server 2020 that got removed during install?
Before upgrade: ADS 20219
After upgrade: ADS 2020 (missing build history for 30+ day builds)
The ADS 2020 install will silently REMOVE any builds…

user5855178
- 567
- 1
- 7
- 17
1
vote
1 answer
Azure DevOps Server database growing out of control
My Azure DevOps Server 2020 Update 1.1 database has grown to over 1TB, and I see no reason for it becoming so big. I have quite aggressive retention policy (all builds are set to be deleted as soon as possible, and test results are to be deleted…

Stein Rustad
- 61
- 4
1
vote
0 answers
.NET Docker image tags for rollForward latestPatch
We are using .NET 6 with global.json specifying the required SDK version. Which Docker image tag should we use to achieve the same roll-forward behavior?
{
"sdk": {
"version": "6.0.200"
}
}
We rely on the default roll-forward behavior,…

Palec
- 12,743
- 8
- 69
- 138
1
vote
1 answer
Updating ElasticSearch on Azure DevOps
i am trying to upgrade ES on my Azure DevOps 2020, ES is installed on a separate Server and therefore cannot be updated, it has to be reinstalled and i am following the instructions from microsoft. i first run the uninstall command…

RJ96
- 303
- 4
- 13
1
vote
1 answer
Installing Azure DevOps Server on a non OS partition/drive
This question applies to Azure DevOps Server 2019 and 2020
I need to install the Azure DevOps application tier or move/set the ADO IIS applications root path to a different drive than the Operating System. I have reviewed the Basic and Advanced…

HiTech
- 913
- 1
- 16
- 34
1
vote
1 answer
How to create Build Task for C#10 / .NET 6.0 project in Azure DevOps Server 2020
I already have a build pipeline for an existing project. I tried to change to project to 10 . Now the build pipeline fails, because it says, 10 is not allowed.
I already installed Build Tools 2022, but it still didn't work.…

Martini Bianco
- 1,484
- 1
- 13
- 23