33,401 questions
0
votes
0
answers
23
views
Increase timeout for Azure Pipelines service connections
I have a problem with my actual setup. I decided to use managed identity in workload federation with a service connection.
Everything works fine, except when an approval takes more than 15 minutes.
In ...
0
votes
0
answers
50
views
How to automate code signing in CI/CD pipelines with modern EV certificates [closed]
Our build pipeline produces several DLLs and executables that must be code-signed with a trusted certificate. We also develop VSTO add-ins, which must be signed to allow installation in Microsoft ...
1
vote
1
answer
49
views
Update CopyFiles task in Azure DevOps Deployment Agent
I have a server which is registered with an Azure DevOps Pipeline Environment which has come up in a security scan that a few npm packages used by CopyFiles task have vulnerabilities. The version of ...
0
votes
1
answer
36
views
How to reference other folders in Azure Devops pipelines
On Azure Devops I want to run ".ci/build.yml" pipeline which builds images in "python/version/flavor" folders.
For each version there is a dockerfile and a version.yml which ...
Tooling
0
votes
0
replies
21
views
Azure DevOps Extension – Prevent recursive onFieldChanged event when updating fields programmatically
I'm developing an Azure DevOps Form Control extension that updates work item fields based on certain configuration rules.
For example, I have two fields:
Field A
Field B
The logic is:
When A ...
1
vote
0
answers
52
views
How to Migrate an Azure DevOps Project Across Tenants Without Losing History of Work items, Backlogs, Wiki, Pipelines, or data under Boards? [closed]
I’m looking for advice on how to migrate an Azure DevOps project across tenants. Specifically, I need to preserve everything, including:
Release Pipelines: Any tips on migrating build and release ...
1
vote
0
answers
58
views
Getting Azure DevOps MCP server to work with a PersistentAgent in Azure AI Foundry with Microsoft Agent Framework
I am using PersistentAgentsClient to handle agent deployment and invocation in Azure AI Foundry.
Chat client:
public PersistentAgentsClient CreateChatClient()
{
return new PersistentAgentsClient(&...
1
vote
0
answers
45
views
Conditionally trigger template based on Pipeline Artifact Variable
I have two pipelines
Build (spins up a server)
Release (installs software on built server)
Working fine - but I want to now conditionally install specific software on a server depending on some ...
1
vote
0
answers
42
views
Azure Entra External ID and Workforce [closed]
**Current Implementation
**
We currently have Azure Web Apps that use a single-tenant Enterprise App for user login.
**New Requirement
**
We now need to allow users from multiple Microsoft Entra ...
0
votes
1
answer
72
views
How do I republish/update a custom Azure DevOps Pipeline Task after modifying its PowerShell module (.psm1)?
I have a custom Azure DevOps Pipeline Task that we use internally to deploy Power BI artifacts. The task is published privately to our Azure DevOps organization and appears in pipelines
This task is ...
2
votes
1
answer
55
views
Azure DevOps “File Path” PowerShell task fails with “MissingEndCurlyBrace” but script parses and runs fine locally and as inline steps
Environment
Azure DevOps Classic UI
Task: PowerShell@2 (Windows PowerShell, not pwsh)
Agent: Windows (Microsoft-hosted and self-hosted both repro)
PowerShell version: Windows PowerShell 5.1
Script ...
1
vote
1
answer
45
views
Azure DevOps iOS pipeline fails during Xcode archive: “Signing for GoogleSignIn_GoogleSignIn requires a development team”
I’m trying to build and upload an iOS app to TestFlight using an Azure DevOps pipeline, but the build fails during the archive step with signing errors related to Swift Package dependencies (e.g., ...
0
votes
0
answers
36
views
Unable to move Test Case work items between projects in ADO “Work item type Test Case cannot be moved because it is disabled, hidden or not supported”
I'm trying to move Test Case work items from one Azure DevOps project to another within the same organization.
However, when I try to move them, I get the following error:
Work item type Test Case ...
0
votes
0
answers
62
views
Python Function not coming up in Azure FunctionApp
I am deploying a python function in azure linux function app, function app is created via terraform and azure CI/CD pipelines, and azure function also via zip deploy and linux function deploy using ...
-1
votes
1
answer
59
views
How do I get a list of changesets from Azure DevOps API?
I'm getting an error trying to access project information on Azure DevOps. I have used code examples from ChatGPT, Copilot Chat and Microsoft. I can't seem to get past this error.
I'm using this URL ...
0
votes
0
answers
63
views
Tabular Editor 2 on Azure DevOps Pipelines: "Error loading model: The connection string is not valid."
Cross post here (though I think that might not be the right place to post)
I've been trying to build a tabular model ".bim" file from a folder-based tabular model (.pbip) on Azure DevOps ...
0
votes
1
answer
56
views
Az Pipelines. Use variable group for conditional Insert
I have a variable group called SharepointConnect with two variables.
SharepointConnect.Enable: 'true'
SharepointConnect.Mode: 'AzTask'
With this pipeline YML no one of the steps are being inserted ...
0
votes
1
answer
56
views
Access Azure keyvault secret from AZDO pipeline step
I have the following Azure Devops pipeline step to retrieve a secret from a KV
steps:
- task: AzureKeyVault@2
displayName: Fetch Azure Key Vault Secrets
inputs:
azureSubscription: ${{ ...
1
vote
1
answer
40
views
How to pass path with spaces in Azure Pipeline CmdLine@2 task
I have this task which tries to use the Azure Pipelines CmdLine@2 task to run the Inno installer from a command line script
- task: CmdLine@2
displayName: 'Running Inno Installer for GSB'
inputs:
...
-3
votes
0
answers
45
views
using personal access token in Dev Ops Server to authenticate with LFS
We are trying to setup a personal access token in Dev Ops Server(on prem) for users to be able to use that same token to authenticate to LFS.
We have created the token but so far have only come across ...
0
votes
0
answers
24
views
Ignore compiled files in .NET 9.0 code coverage report
I have an ASP.NET Core 9 Web API project and in the Azure DevOps pipeline, there are compiled files being collected for coverage - and there is no test code for those. For example the Mediator Library....
1
vote
0
answers
71
views
SQL Server connection authentication in Azure DevOps pipeline for .NET seeding data .sln
I have a .NET application that seeds data to an Azure SQL database after deployment via Azure DevOps pipelines.
I'm struggling with authentication when using a connection string in Azure DevOps ...
-4
votes
0
answers
26
views
Can I display a verbose output of the initialization process of pre-commit?
As mentioned in this issue](https://github.com/pre-commit/pre-commit/issues/3559) I get a problem on Azure DevOps runners when pre-commit tries to install its different hooks environment:
Starting: ...
0
votes
0
answers
63
views
Cache-from with Docker build image in AzureDevOps throws error because of tag
I am using AzureDevOps to build/push images to a registry. I am using script instead of the Azure DevOps docker task as I was not able to set DOCKER_BUILDKIT=1.
But what keeps happening is that it ...
0
votes
0
answers
34
views
Azure Pipelines deployment is leaving one sub folder in wwwRoot folder
I am using Azure Pipelines to deploy an ASP.NET Core application. In the release pipeline, I’ve configured the deployment settings appropriately. Below is the screen shot:
Once the release is ...
0
votes
0
answers
75
views
How to bootstrap private self hosted build agent in Azure with PowerShell
I am trying to run this PowerShell task on self hosted private Windows build agent.
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/azure-file-copy-v6?view=azure-pipelines
...
0
votes
0
answers
94
views
Azure Devops - Unable to connect with Connect-MgGraph
I have a pipeline with a task powershell to use easypim cmdlet to create a pim policy on new azure group:
- task: PowerShell@2
displayName: 'Configura PIM per GRUPPO ENTRA ID'
inputs:
...
0
votes
1
answer
44
views
Unable to authorize databricks from Azure Devops Stage
I'm trying to build a devops pipeline that allows to upload a python wheel file to my databricks volume.
However I keep getting the error : "Error: Authorization failed. Your token may be expired ...
-1
votes
0
answers
27
views
CI/CD of Postman in Azure Devops
our project uses the secret client id details as authorization (OAuth 2.0) and exported the postman collection file>> uploaded the file in our project repo>> created pipeline>> run ...
0
votes
0
answers
66
views
Node version mismatch when running npm programmatically on Azure App Service, but works manually
I am facing a confusing issue while trying to run npm commands programmatically in a React project deployed to Azure App Service.
What works:
Running npm commands locally via my Node.js script works ...
0
votes
0
answers
31
views
Can't manually sign IPA for deployment to Firebase on Azure DevOps
I attempted to generate an IPA build via YAML in Azure DevOps with limited success.
I have the generated .p12 cert and provisioning profile done - provisioning profile is ad-hoc
Below is the error I ...
1
vote
0
answers
31
views
Downloading all the folders from TFS
I have an old Azure Devops (on-premise) with several collections, and each collection has several projects where the Version Control is TFS/TFVC. It appears to be a folder with many different ...
0
votes
1
answer
114
views
How to fix a 401 (Unauthorized) error from Fabric REST API?
Question: How do I troubleshoot a 401 (Unauthorized) error from Fabric REST API?
I have an App Registration that that uses a secret to authenticate with Fabric and I am able to issue REST API calls ...
1
vote
1
answer
80
views
How to retrieve a specific variable from Azure Devops library dynamically
I have a simple yaml pipeline that calls a template analyze-and-deploy.yml.
I concatenate ${{ parameters.Environment }}_USERNAME to create a username parameter dynamically and pass it when calling ...
0
votes
1
answer
54
views
Adding diagnosticSettings to Azure SQL Databases using Bicep loops
I am trying to set diagnosticSettings to an array of databases in bicep using for (db, i) in dataBaseArray.
At first I create the databases:
@batchSize(1)
resource sqlDatabases 'Microsoft.Sql/servers/...
1
vote
1
answer
32
views
Is it possible to pass the result of the counter() function to the YAML template?
I have a major and minor version of my application (e.g. 1.1, 1.2 etc.) specified in a template variable .yml file (variables/pipeline.yml):
variables:
version: 1.1
I want to use the counter() ...
0
votes
1
answer
49
views
Update Work Item Type Categories in Azure DevOps Services
I have an inherited Basic Process in Azure DevOps Services.
By default the Work Item Type Category 'Microsoft.BugCategory' only contains the Work Item Type 'Issue'. I'd like to add other Work Item ...
0
votes
1
answer
42
views
Azure Devops Pull Request not showing or working when an ADF pipeline activity changes from Inactive to Active
I have an Azure DevOps Repo that contains a number of ADF pipelines (plus some other stuff)
There are 3 branches, staging, preprod and main
I typically create and amend pipelines in staging
Run a pull ...
0
votes
0
answers
32
views
Error while distribute app to firebase using Azure pipeline
After iOS build pipeline in Azure pipelines, I am running 'Distribute app to firebase' task but it fails with below error
Attempting to distribute IPA: /Users/runner/work/1/a/FinalIPA/**.ipa
App ID: *...
1
vote
1
answer
78
views
Getting error while distribute app to firebase using Azure pipeline
After iOS build pipeline in Azure pipeline, I am running 'Distribute app to firebase' task but it fails with below error
##[error]IPA file not found at /Users/runner/work/1/a/FinalIPA/ggg.ipa. ...
0
votes
2
answers
69
views
How do I resolve, "Error NETSDK1022: Duplicate 'Content' items were included" error message?
I am attempting to migrate an ASP.NET Core 3.1 MVC project in Visual Studio 2022 to ASP.NET Core 6.0. The project builds and runs flawlessly on my development server but fails when uploaded to be ...
0
votes
1
answer
54
views
Azure DevOps Variables from Pipeline/Variable Groups Only Work in Inline PowerShell Scripts, Not in Script Files MyScript.ps1
Description/Question:
I have an Azure DevOps Classic Release pipeline where I need to use variables from either pipeline variables or variable groups in my PowerShell scripts.
Expected Behavior:
...
0
votes
0
answers
26
views
Azure DevOps Analytics Not Showing Full Iteration Path
I am trying to create an Azure DO Analytic that I can bring into Power BI. Specifically I am trying to get all PBIs for the current sprint. When I pull up a PBI from the sprint the iteration path is:
...
0
votes
1
answer
61
views
How can I build and publish a SPA web application in Azure Devops?
We have built a React SPA web application with an ASP.NET Core Web API. The SPA and the backend are both in the same solution. So far this hasn't caused any issues running locally. When I created the ...
0
votes
0
answers
26
views
I am having issues configuring external NFS on AzureCycleCloud
Error I keep getting
More
I created the FileShare in a Storage Account. Linked it to my vnet/subnet.
I created the private endpoint as well. I am using that private ip address that I got from the DNS ...
0
votes
0
answers
16
views
How do I get the approver information from a branch policy's required approver ID in Azure DevOps?
I run this API call to get a repo's default branch's policies:
https://dev.azure.com/{organization}/{project}/_apis/git/policy/configurations?api-version=7.1-preview.1&repositoryId={repo_id}&...
0
votes
0
answers
39
views
Azure Pipeline Stages to Run show "Unable to load the pipeline's stages."
I checked some netizens' errors.
Currently I've tried change Triggers>YAML>Insert something to "Default agent pool for YAML"
But seems "Unable to load the pipeline's stages" ...
0
votes
0
answers
72
views
OData $expand keyword not working in Synapse Copy Activity with Azure Devops Analytics OData source
I'm working on a Synapse pipeline that pulls data from the Azure Devops OData feed. The base query works fine in both the browser and Synapse, but it seems to ignore the $expand portion of the query ...
2
votes
1
answer
42
views
Azure Devops Git Graph Perpendicular Line
What does this perpendicular line represent (circled in red)?
I'm familiar with what branching and merging typically looks like but this is a new one to me.
I've added the command line git graph of ...
0
votes
0
answers
27
views
Cannot Create an Azure Git Repository from a Local Solution
I have created a new solution using Visual Studio 2019. All the files are currently on my local system. I have Git setup as the default for source control. At the bottom right, there is an option ...